summaryrefslogtreecommitdiff
path: root/qpid/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
commit4dcedd1cba9f465a9595a9f5f365b2331ff98fe1 (patch)
tree43f3348fee989b34b95cf1b7574e84282b2e1609 /qpid/cpp/include
parentd9e5d1733dafa6a7b7cb8c325a1ccebed96bfd88 (diff)
downloadqpid-python-4dcedd1cba9f465a9595a9f5f365b2331ff98fe1.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@1163275 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/Msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/Msg.h b/qpid/cpp/include/qpid/Msg.h
index 7a39a41c8d..5f0b11bc60 100644
--- a/qpid/cpp/include/qpid/Msg.h
+++ b/qpid/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; }