projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* Throw the actual exception objects, rather than pointers to them, i.e.:
[zxing.git]
/
cpp
/
core
/
tests
/
src
/
qrcode
/
decoder
/
ErrorCorrectionLevelTest.cpp
diff --git
a/cpp/core/tests/src/qrcode/decoder/ErrorCorrectionLevelTest.cpp
b/cpp/core/tests/src/qrcode/decoder/ErrorCorrectionLevelTest.cpp
index
7af8a8a
..
f5e7486
100644
(file)
--- a/
cpp/core/tests/src/qrcode/decoder/ErrorCorrectionLevelTest.cpp
+++ b/
cpp/core/tests/src/qrcode/decoder/ErrorCorrectionLevelTest.cpp
@@
-40,9
+40,8
@@
namespace qrcode {
ErrorCorrectionLevel::forBits(4);
CPPUNIT_FAIL("should have thrown an exception");
}
- catch (ReaderException
*
ex) {
+ catch (ReaderException ex) {
// expected
- delete ex;
}
}
}