diff options
| author | Alan Conway <aconway@apache.org> | 2007-08-14 21:36:33 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-08-14 21:36:33 +0000 |
| commit | 7930ede67294af54cc7aa02fe89b10a18682a8a1 (patch) | |
| tree | 36ea79bd16eb49126dd7e6a485c7fc889a8dcde0 /qpid/cpp/src | |
| parent | 1e2ed8176afafcc0190e0a5fd1c3c65389248b99 (diff) | |
| download | qpid-python-7930ede67294af54cc7aa02fe89b10a18682a8a1.tar.gz | |
Fix compile error.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@565925 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/Msg.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/Msg.h b/qpid/cpp/src/qpid/Msg.h index 702bb0a10e..c1a6b54d05 100644 --- a/qpid/cpp/src/qpid/Msg.h +++ b/qpid/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; } |
