summaryrefslogtreecommitdiff
path: root/cpp/include
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-08-30 16:21:00 +0000
committerAlan Conway <aconway@apache.org>2011-08-30 16:21:00 +0000
commita10352b1767f72e80a6621c324021206128af3ef (patch)
treee2b00c08438f05d3d628540495ad3d4ecf00015c /cpp/include
parent42c59ff146df419e273b5efa923eac9114f78bf6 (diff)
downloadqpid-python-a10352b1767f72e80a6621c324021206128af3ef.tar.gz
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
Diffstat (limited to 'cpp/include')
-rw-r--r--cpp/include/qpid/Msg.h2
1 files changed, 1 insertions, 1 deletions
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; }