summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/Msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/qpid/Msg.h')
-rw-r--r--cpp/include/qpid/Msg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/include/qpid/Msg.h b/cpp/include/qpid/Msg.h
index a4deb15c26..5a55be28db 100644
--- a/cpp/include/qpid/Msg.h
+++ b/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; }