diff options
author | René Korthaus <[email protected]> | 2018-01-14 17:56:58 +0100 |
---|---|---|
committer | René Korthaus <[email protected]> | 2018-01-14 17:56:58 +0100 |
commit | d50d9afe6688c458530d5ecfa536e21756b4e2ca (patch) | |
tree | 9eb75238db82c77a51b5a241b7764c34bcfb1c51 /src/cli/cli.h | |
parent | fd9c081f7a1fa4c6a0fc8bf0eea2fd7d1a58cd27 (diff) |
Simplify code
Diffstat (limited to 'src/cli/cli.h')
-rw-r--r-- | src/cli/cli.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cli/cli.h b/src/cli/cli.h index 7ba54d370..26ead9081 100644 --- a/src/cli/cli.h +++ b/src/cli/cli.h @@ -160,12 +160,13 @@ class Command Botan::RandomNumberGenerator& rng(); - typedef std::function<Command* ()> cmd_maker_fn; - static std::map<std::string, cmd_maker_fn>& global_registry(); - private: void parse_spec(); + typedef std::function<Command* ()> cmd_maker_fn; + + static std::map<std::string, cmd_maker_fn>& global_registry(); + // set in constructor std::string m_spec; |