summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-08-26 22:16:01 +0000
committerAlan Conway <aconway@apache.org>2011-08-26 22:16:01 +0000
commit42c59ff146df419e273b5efa923eac9114f78bf6 (patch)
treeee18e539726b42496ba9ee4ba3be198793c7f6bb /cpp/include
parentefb4e520ccda0ef05a7178ada99fd73175b648c3 (diff)
downloadqpid-python-42c59ff146df419e273b5efa923eac9114f78bf6.tar.gz
QPID-3457: qpid::Msg::str() method not exported
Previous fix was incomplete. The class Msg is used by Variant.cpp in the types library. Moved the Msg class from common to types library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1162273 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/Msg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/qpid/Msg.h b/cpp/include/qpid/Msg.h
index 5a55be28db..7a39a41c8d 100644
--- a/cpp/include/qpid/Msg.h
+++ b/cpp/include/qpid/Msg.h
@@ -24,7 +24,7 @@
#include <sstream>
#include <iostream>
-#include "qpid/CommonImportExport.h"
+#include "qpid/types/ImportExport.h"
namespace qpid {
@@ -42,7 +42,7 @@ struct Msg {
std::ostringstream os;
Msg() {}
Msg(const Msg& m) : os(m.str()) {}
- QPID_COMMON_EXTERN std::string str() const;
+ QPID_TYPES_EXTERN std::string str() const;
operator std::string() const { return str(); }
Msg& operator<<(long n) { os << n; return *this; }