From: Arvin Schnell Date: Thu, 18 Apr 2013 13:57:14 +0000 (+0200) Subject: - catch by reference X-Git-Tag: v0.1.3~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92ed406fa749f6a4e16a946f58f865bbd7ab64ed;p=thirdparty%2Fsnapper.git - catch by reference --- diff --git a/client/snapper.cc b/client/snapper.cc index f1dcf15f..6757e325 100644 --- a/client/snapper.cc +++ b/client/snapper.cc @@ -1134,7 +1134,7 @@ print_xa_diff(const string loc_pre, const string loc_post) xa_mod.dumpDiffReport(cout); } } - catch (XAttributesException xae) {} + catch (const XAttributesException& e) {} } void