From a10352b1767f72e80a6621c324021206128af3ef Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 30 Aug 2011 16:21:00 +0000 Subject: NO-JIRA: Revert change to Msg.h introduced in r1162273 The change did not compile on windows due to EXTERN declaration issues. Changes has been backed out as it is not critical and can be addressed elsewhere. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163275 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/Msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/include/qpid') diff --git a/cpp/include/qpid/Msg.h b/cpp/include/qpid/Msg.h index 7a39a41c8d..5f0b11bc60 100644 --- a/cpp/include/qpid/Msg.h +++ b/cpp/include/qpid/Msg.h @@ -42,7 +42,7 @@ struct Msg { std::ostringstream os; Msg() {} Msg(const Msg& m) : os(m.str()) {} - QPID_TYPES_EXTERN std::string str() const; + std::string str() const { return os.str(); } operator std::string() const { return str(); } Msg& operator<<(long n) { os << n; return *this; } -- cgit v1.2.1