diff options
author | Andrew Stitcher <astitcher@apache.org> | 2014-04-02 21:23:45 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2014-04-02 21:23:45 +0000 |
commit | 631a175a87b57f2e7fd087458156d7efe9f46edc (patch) | |
tree | cb329497aab97aecf4b95ff95207e341b624257c /qpid/cpp/src/tests/msg_group_test.cpp | |
parent | a7a3046130ea56bf17089de3a55da4f5efd26596 (diff) | |
download | qpid-python-631a175a87b57f2e7fd087458156d7efe9f46edc.tar.gz |
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
Diffstat (limited to 'qpid/cpp/src/tests/msg_group_test.cpp')
-rw-r--r-- | qpid/cpp/src/tests/msg_group_test.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |