diff options
| author | Lexi Winter <lexi@le-fay.org> | 2025-06-27 13:23:47 +0100 |
|---|---|---|
| committer | Lexi Winter <lexi@le-fay.org> | 2025-06-27 13:23:47 +0100 |
| commit | 35ff96b08ef09dc91005472b5ea88b4acdf40041 (patch) | |
| tree | d3de7ce243ab33794cae86f9fd410c648897c169 /nihil/command_map.cc | |
| parent | 187e18021aad8e32d59d04e7769424a6becd86cf (diff) | |
| download | nihil-35ff96b08ef09dc91005472b5ea88b4acdf40041.tar.gz nihil-35ff96b08ef09dc91005472b5ea88b4acdf40041.tar.bz2 | |
nihil: fix command_map registration
Diffstat (limited to 'nihil/command_map.cc')
| -rw-r--r-- | nihil/command_map.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil/command_map.cc b/nihil/command_map.cc index fc31c87..f5353e0 100644 --- a/nihil/command_map.cc +++ b/nihil/command_map.cc @@ -146,7 +146,7 @@ struct command_tree { -> std::optional<command> { auto *this_node = &self._root_node; -{} + // Find the node for this key. for (auto &&next : path) { this_node = this_node->get_child(next); |
