aboutsummaryrefslogtreecommitdiffstats
path: root/nihil/command_map.cc
diff options
context:
space:
mode:
authorLexi Winter <lexi@le-fay.org>2025-06-27 13:23:47 +0100
committerLexi Winter <lexi@le-fay.org>2025-06-27 13:23:47 +0100
commit35ff96b08ef09dc91005472b5ea88b4acdf40041 (patch)
treed3de7ce243ab33794cae86f9fd410c648897c169 /nihil/command_map.cc
parent187e18021aad8e32d59d04e7769424a6becd86cf (diff)
downloadnihil-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.cc2
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);