diff options
Diffstat (limited to 'nihil.cli/registry.ccm')
| -rw-r--r-- | nihil.cli/registry.ccm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nihil.cli/registry.ccm b/nihil.cli/registry.ccm index 673f516..e5a7e29 100644 --- a/nihil.cli/registry.ccm +++ b/nihil.cli/registry.ccm @@ -6,13 +6,12 @@ import nihil.std; namespace nihil { export struct command; -export struct command_node; // Register a command. This is guaranteed not to throw; errors will print // a diagnostic and exit. auto register_command(command *cmd) noexcept -> void; // Get previously registered commands. -auto get_registered_commands() -> std::span<std::shared_ptr<command_node>>; +auto get_registered_commands() -> std::span<std::shared_ptr<command>>; } // namespace nihil |
