summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/Msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/Msg.h b/cpp/src/qpid/Msg.h
index 702bb0a10e..c1a6b54d05 100644
--- a/cpp/src/qpid/Msg.h
+++ b/cpp/src/qpid/Msg.h
@@ -45,7 +45,7 @@ struct Msg {
operator std::string() const { return str(); }
};
-inline template <class T> const Msg& operator<<(const Msg& m, const T& t) {
+template <class T> const Msg& operator<<(const Msg& m, const T& t) {
const_cast<std::ostringstream&>(m.os)<<t; return m;
}