From bd7ae5416385c12437dbb1e8cf377e0e817e7a90 Mon Sep 17 00:00:00 2001 From: Simon Warta Date: Sat, 26 Dec 2015 16:39:33 +0100 Subject: Get rid of "extra ';'" warnings and force semicolon after macros --- src/cli/cli.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/cli') diff --git a/src/cli/cli.h b/src/cli/cli.h index 49167b2ad..890d4a630 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -547,7 +547,8 @@ class Command #define BOTAN_REGISTER_COMMAND(name, CLI_Class) \ namespace { Botan_CLI::Command::Registration \ - reg_cmd_ ## CLI_Class(name, []() -> Botan_CLI::Command* { return new CLI_Class; }); } + reg_cmd_ ## CLI_Class(name, []() -> Botan_CLI::Command* { return new CLI_Class; }); } \ + BOTAN_FORCE_SEMICOLON } -- cgit v1.2.3