diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-30 11:05:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-30 11:27:42 +0900 |
commit | 7113c7152d1ec875e65e97548fa6243fc83fbc53 (patch) | |
tree | 9fa8fb3e89086e2ed06c8f210ed519331b254414 /binaryurp/qa | |
parent | introduced Date::IsValidDate() and Date::Normalize() (diff) | |
download | core-7113c7152d1ec875e65e97548fa6243fc83fbc53.tar.gz core-7113c7152d1ec875e65e97548fa6243fc83fbc53.zip |
catch by constant reference
Diffstat (limited to 'binaryurp/qa')
-rw-r--r-- | binaryurp/qa/test-unmarshal.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/qa/test-unmarshal.cxx b/binaryurp/qa/test-unmarshal.cxx index 3e8aac3fec4d..aa6c5a9b81bc 100644 --- a/binaryurp/qa/test-unmarshal.cxx +++ b/binaryurp/qa/test-unmarshal.cxx @@ -108,7 +108,7 @@ void Test::testTypeOfVoidSequence() { try { m.readType(); CPPUNIT_FAIL("exception expected"); - } catch (css::io::IOException &) {} + } catch (const css::io::IOException &) {} } CPPUNIT_TEST_SUITE_REGISTRATION(Test); |