diff options
| author | Alan Conway <aconway@apache.org> | 2007-06-14 13:03:22 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-06-14 13:03:22 +0000 |
| commit | cd16b39d7a138d4ff08a25bfe62f9e682a000aec (patch) | |
| tree | c6d3b71e860f321879206904681543cac340b8de /qpid/cpp/src/tests/topic_publisher.cpp | |
| parent | 31f720ecc6bed95ffa6b7205f70614077dc3f513 (diff) | |
| download | qpid-python-cd16b39d7a138d4ff08a25bfe62f9e682a000aec.tar.gz | |
Fixed catch clauses to catch by const & and use std::exception for
"generic" catches.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@547241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/topic_publisher.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/topic_publisher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/topic_publisher.cpp b/qpid/cpp/src/tests/topic_publisher.cpp index 7c16dd71f3..9384053e68 100644 --- a/qpid/cpp/src/tests/topic_publisher.cpp +++ b/qpid/cpp/src/tests/topic_publisher.cpp @@ -157,7 +157,7 @@ int main(int argc, char** argv) { channel.close(); connection.close(); return 0; - }catch(qpid::QpidError error) { + }catch(std::exception& error) { std::cout << error.what() << std::endl; } } |
