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 | 5c52a1984357b3f0145eac2d146d44cb8e41afb4 (patch) | |
tree | aec5e46465d94bcf5b1d76660b077491bd117203 /cpp/src/tests/interop_runner.cpp | |
parent | b3747b9e1a5090a5eea0ac067b94d259f17ee09a (diff) | |
download | qpid-python-5c52a1984357b3f0145eac2d146d44cb8e41afb4.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/qpid@547241 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/interop_runner.cpp')
-rw-r--r-- | cpp/src/tests/interop_runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/interop_runner.cpp b/cpp/src/tests/interop_runner.cpp index 26639ede17..7d40eeedb1 100644 --- a/cpp/src/tests/interop_runner.cpp +++ b/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; } } |