From 2fdd2cc2ade41e213ae35818532574bbf40f4a00 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 25 Aug 2011 20:41:28 +0000 Subject: 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/qpid@1161742 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/include/qpid/Msg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/include/qpid') 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; } -- cgit v1.2.1