From 631a175a87b57f2e7fd087458156d7efe9f46edc Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 2 Apr 2014 21:23:45 +0000 Subject: QPID-5659: Fixes to compile with C++11 (needed to compile with clang on FreeBSD 10) - shared_ptr no longer has a default conversion to bool. - Change in default destructor semantics: by default destructors are now not allowed to throw exceptions. - stringstream no longer has a default conversion to string. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1584199 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/msg_group_test.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/msg_group_test.cpp') diff --git a/qpid/cpp/src/tests/msg_group_test.cpp b/qpid/cpp/src/tests/msg_group_test.cpp index 4f54e3ee53..ca87197ff3 100644 --- a/qpid/cpp/src/tests/msg_group_test.cpp +++ b/qpid/cpp/src/tests/msg_group_test.cpp @@ -130,8 +130,7 @@ struct Options : public qpid::Options if (messages == 0) throw qpid::Exception("The message count cannot be zero."); qpid::log::Logger::instance().configure(log); if (help) { - std::ostringstream msg; - std::cout << msg << *this << std::endl << std::endl + std::cout << *this << std::endl << std::endl << "Verifies the behavior of grouped messages." << std::endl; return false; } else { -- cgit v1.2.1