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.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; }