aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-30 14:11:46 -0500
committerJack Lloyd <[email protected]>2017-12-30 14:11:46 -0500
commit2d3cee8b02a1823ef05eedbbd3e435131460635a (patch)
tree0f99b47571fa5cec81a97f32bb3370b958758cc5 /src/tests
parentcd6e777c32333248329edc3312408aa6eecae512 (diff)
Remove BOTAN_FORCE_SEMICOLON macro
Only needed in two headers (cli.h and test.h) not in the main library. Just change those two uses to not use anonymous namespaces.
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/tests.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tests/tests.h b/src/tests/tests.h
index 193f7e06d..36a6d4862 100644
--- a/src/tests/tests.h
+++ b/src/tests/tests.h
@@ -432,8 +432,7 @@ class Test
* Register the test with the runner
*/
#define BOTAN_REGISTER_TEST(type, Test_Class) \
- namespace { Test::Registration reg_ ## Test_Class ## _tests(type, new Test_Class); } \
- BOTAN_FORCE_SEMICOLON
+ Test::Registration reg_ ## Test_Class ## _tests(type, new Test_Class)
/*
* A test based on reading an input file which contains key/value pairs