aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/parser.ccm
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.ucl/parser.ccm')
-rw-r--r--nihil.ucl/parser.ccm2
1 files changed, 1 insertions, 1 deletions
diff --git a/nihil.ucl/parser.ccm b/nihil.ucl/parser.ccm
index 20e5c66..5fa3495 100644
--- a/nihil.ucl/parser.ccm
+++ b/nihil.ucl/parser.ccm
@@ -72,7 +72,7 @@ struct parser {
requires (std::same_as<bool, std::invoke_result<F>>)
{
auto handler = std::make_unique<macro_handler>(
- std::move(func));
+ std::forward<F>(func));
auto cname = std::string(name);
::ucl_parser_register_macro(