aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testUtils.hpp2
-rw-r--r--tests/utility/urlTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp
index e6bf1eee..f625dec0 100644
--- a/tests/testUtils.hpp
+++ b/tests/testUtils.hpp
@@ -76,7 +76,7 @@
struct AutoRegisterModule { \
AutoRegisterModule() { \
static const char* moduleName = getTestModuleNameFromSourceFile(__FILE__); \
- static CppUnit::AutoRegisterSuite <VMIME_TEST_SUITE>(autoRegisterRegistry1); \
+ static CppUnit::AutoRegisterSuite <VMIME_TEST_SUITE> autoRegisterRegistry1; \
static CppUnit::AutoRegisterSuite <VMIME_TEST_SUITE>(autoRegisterRegistry2)(moduleName); \
registerTestModule(moduleName); \
} \
diff --git a/tests/utility/urlTest.cpp b/tests/utility/urlTest.cpp
index 36820a68..d26cfb81 100644
--- a/tests/utility/urlTest.cpp
+++ b/tests/utility/urlTest.cpp
@@ -50,7 +50,7 @@ VMIME_TEST_SUITE_BEGIN(urlTest)
u = vmime::utility::url(str);
- } catch (vmime::exceptions::malformed_url) {
+ } catch (vmime::exceptions::malformed_url&) {
return false;
}