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/qpid/sys | |
| 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/qpid/sys')
| -rw-r--r-- | cpp/src/qpid/sys/apr/LFProcessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/sys/apr/LFProcessor.cpp b/cpp/src/qpid/sys/apr/LFProcessor.cpp index bb53e45a83..69c92cc2c4 100644 --- a/cpp/src/qpid/sys/apr/LFProcessor.cpp +++ b/cpp/src/qpid/sys/apr/LFProcessor.cpp @@ -136,7 +136,7 @@ void LFProcessor::run(){ session->stopProcessing(); } } - }catch(std::exception e){ + }catch(const std::exception& e){ QPID_LOG(error, e.what()); } } |
