From 3b7296d8e5778684cecb8bc77af2d84c8b881bc2 Mon Sep 17 00:00:00 2001 From: Robert Konicar Date: Tue, 16 May 2023 12:31:06 +0200 Subject: [PATCH] XXX: Try constexpr fix. --- include/vast/repl/command.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vast/repl/command.hpp b/include/vast/repl/command.hpp index fe0798e966..59511240d3 100644 --- a/include/vast/repl/command.hpp +++ b/include/vast/repl/command.hpp @@ -114,7 +114,7 @@ namespace vast::repl } else { using current = typename std::tuple_element< 0, params_storage >::type; - if constexpr (current::param_name == name) { + if constexpr (std::string_view(current::param_name) == name) { return util::head(params).value; } else { return get_param< name >(util::tail(params));