From 5c52a1984357b3f0145eac2d146d44cb8e41afb4 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 14 Jun 2007 13:03:22 +0000 Subject: 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 --- cpp/src/qpid/sys/apr/LFProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/sys') 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()); } } -- cgit v1.2.1