summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-08-14 21:36:33 +0000
committerAlan Conway <aconway@apache.org>2007-08-14 21:36:33 +0000
commit4ed67edf330b5d01e1483195cbc5f018f14551e5 (patch)
tree91866cdcdc2ac5c4a601ee2c420e321691bfa72f /cpp/src
parent0a432d6035a95b033e635eda93e973af7baf4d03 (diff)
downloadqpid-python-4ed67edf330b5d01e1483195cbc5f018f14551e5.tar.gz
Fix compile error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@565925 13f79535-47bb-0310-9956-ffa450edef68
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;
}