aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/cli.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/cli.h')
-rw-r--r--src/cli/cli.h7
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;