From 478ded40bb3911eef1f2be480289eb60d74c3e20 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 26 Aug 2011 20:08:41 +0000 Subject: 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/qpid@1162233 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/Msg.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/include') 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 #include +#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; } -- cgit v1.2.1