summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-08-26 20:08:41 +0000
committerAlan Conway <aconway@apache.org>2011-08-26 20:08:41 +0000
commitb3881a53867688832f3891dbecbde149b0d278db (patch)
treeb5b96e4d92c28cf634a81b447986fbb3fe4fd75c /qpid/cpp/include
parent15b61f1fcb064ac407879ad586fc2e795a612095 (diff)
downloadqpid-python-b3881a53867688832f3891dbecbde149b0d278db.tar.gz
QPID-3457: qpid::Msg::str() method not exported
- Added the QPID_COMMON_EXTERN declaration to Msg.h - Removed a spurious #include "Msg.h" from qpid/types/Variant.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1162233 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/Msg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/Msg.h b/qpid/cpp/include/qpid/Msg.h
index a4deb15c26..5a55be28db 100644
--- a/qpid/cpp/include/qpid/Msg.h
+++ b/qpid/cpp/include/qpid/Msg.h
@@ -24,6 +24,7 @@
#include <sstream>
#include <iostream>
+#include "qpid/CommonImportExport.h"
namespace qpid {
@@ -41,7 +42,7 @@ struct Msg {
std::ostringstream os;
Msg() {}
Msg(const Msg& m) : os(m.str()) {}
- std::string str() const;
+ QPID_COMMON_EXTERN std::string str() const;
operator std::string() const { return str(); }
Msg& operator<<(long n) { os << n; return *this; }