diff options
author | Jack Lloyd <[email protected]> | 2022-02-06 14:00:09 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2022-02-06 14:00:09 -0500 |
commit | a3dfffdfdca9d425d418ab789d2abde7ffd9dfaa (patch) | |
tree | eb547e03ec4387fbc6f9705bd13463380e150676 /src | |
parent | fc1320feb64987314322880c8d7f6f493e3372fb (diff) |
Avoid mutable global warning
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/cli.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index c7e5163e2..69ba3d48f 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -212,7 +212,7 @@ class Command }; #define BOTAN_REGISTER_COMMAND(name, CLI_Class) \ - Botan_CLI::Command::Registration reg_cmd_ ## CLI_Class(name, \ + const Botan_CLI::Command::Registration reg_cmd_ ## CLI_Class(name, \ []() -> std::unique_ptr<Botan_CLI::Command> { return std::make_unique<CLI_Class>(); }) } |