From e5180acf5f2dfac788e8c12886095ed1ac66fae5 Mon Sep 17 00:00:00 2001 From: Lexi Winter Date: Sun, 29 Jun 2025 00:52:39 +0100 Subject: cli: improve path handling --- nihil.cli/command_tree.ccm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nihil.cli/command_tree.ccm') diff --git a/nihil.cli/command_tree.ccm b/nihil.cli/command_tree.ccm index f52b768..7297af7 100644 --- a/nihil.cli/command_tree.ccm +++ b/nihil.cli/command_tree.ccm @@ -62,7 +62,7 @@ struct command_tree_node final { * Get the path of this command_node. */ [[nodiscard]] auto path(this command_tree_node const &self) - -> std::string; + -> std::string_view; /* * Print this node's children in a form useful to humans. -- cgit v1.2.3