summaryrefslogtreecommitdiff
path: root/qpid/cpp/include
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2011-08-25 20:41:28 +0000
committerAlan Conway <aconway@apache.org>2011-08-25 20:41:28 +0000
commiteabacb939662725b4514e898f050805131c2a0fb (patch)
tree5bf587628499eb32dde4768432294f28245b1697 /qpid/cpp/include
parentbd0b19adf1a8f529d68213bfd2f4c9a5f12e66b6 (diff)
downloadqpid-python-eabacb939662725b4514e898f050805131c2a0fb.tar.gz
QPID-3384: Enable DTX transactions in a cluster.
- Replicate DTX state to new members joining. - Use cluster timer for DTX timeouts. - Incidental: quote nulls in qpid::Msg messages (XIDs often have null characters) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1161742 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/include')
-rw-r--r--qpid/cpp/include/qpid/Msg.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/include/qpid/Msg.h b/qpid/cpp/include/qpid/Msg.h
index e1837c29e5..a4deb15c26 100644
--- a/qpid/cpp/include/qpid/Msg.h
+++ b/qpid/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; }