summaryrefslogtreecommitdiff
path: root/writerfilter/qa
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-01-09 03:16:33 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-01-09 03:17:20 +0900
commitb35c0ae4ffce43b881d66efe74a19f1bf6299331 (patch)
tree7afefa031973519717e8cb9812ade85de444df02 /writerfilter/qa
parentbc2a59e09d1a554b2d55412d1f10a3fa1fe86086 (diff)
catch exception by constant reference
Diffstat (limited to 'writerfilter/qa')
-rw-r--r--writerfilter/qa/cppunittests/qname/testQName.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/qa/cppunittests/qname/testQName.cxx b/writerfilter/qa/cppunittests/qname/testQName.cxx
index 2a2b26e8bcf4..1c0e24d08739 100644
--- a/writerfilter/qa/cppunittests/qname/testQName.cxx
+++ b/writerfilter/qa/cppunittests/qname/testQName.cxx
@@ -103,7 +103,7 @@ public:
sprintf(buf, "name%i", i++);
testAdd("myns", buf);
}
- } catch (std::logic_error &e)
+ } catch (const std::logic_error &)
{
// only way to exit this function
flag=true;