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 e1837c29e5..a4deb15c26 100644
--- a/cpp/include/qpid/Msg.h
+++ b/cpp/include/qpid/Msg.h
@@ -41,7 +41,7 @@ struct Msg {
std::ostringstream os;
Msg() {}
Msg(const Msg& m) : os(m.str()) {}
- std::string str() const { return os.str(); }
+ std::string str() const;
operator std::string() const { return str(); }
Msg& operator<<(long n) { os << n; return *this; }