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/interop_runner.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/interop_runner.cpp')
-rw-r--r-- | qpid/cpp/src/tests/interop_runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/interop_runner.cpp b/qpid/cpp/src/tests/interop_runner.cpp index 26639ede17..7d40eeedb1 100644 --- a/qpid/cpp/src/tests/interop_runner.cpp +++ b/qpid/cpp/src/tests/interop_runner.cpp @@ -116,7 +116,7 @@ int main(int argc, char** argv){ channel.run(); connection.close(); - } catch(qpid::Exception error) { + } catch(const std::exception& error) { std::cout << error.what() << std::endl; } } |