aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/test/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/univalue/test/object.cpp')
-rw-r--r--src/univalue/test/object.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp
index 1c724555f3..2577c682d7 100644
--- a/src/univalue/test/object.cpp
+++ b/src/univalue/test/object.cpp
@@ -20,17 +20,17 @@
try { \
(stmt); \
assert(0 && "No exception caught"); \
- } catch (excMatch & e) { \
- } catch (...) { \
- assert(0 && "Wrong exception caught"); \
- } \
+ } catch (excMatch&) { \
+ } catch (...) { \
+ assert(0 && "Wrong exception caught"); \
+ } \
}
#define BOOST_CHECK_NO_THROW(stmt) { \
try { \
(stmt); \
- } catch (...) { \
- assert(0); \
- } \
+ } catch (...) { \
+ assert(0); \
+ } \
}
void univalue_constructor()