From a95ddd8dfa2489a22f053f382018ae07f76078f1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 4 Jun 2024 15:09:18 -0400 Subject: Add missing std::forward --- include/ingen/fmt.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ingen/fmt.hpp') diff --git a/include/ingen/fmt.hpp b/include/ingen/fmt.hpp index 7ca5de9f..bfc339e5 100644 --- a/include/ingen/fmt.hpp +++ b/include/ingen/fmt.hpp @@ -29,7 +29,7 @@ fmt(const char* fmt, Args&&... args) { boost::format f{fmt}; // NOLINT(misc-const-correctness) const std::initializer_list l{ - (static_cast(f % args), char{})...}; + (static_cast(f % std::forward(args)), char{})...}; (void)l; return boost::str(f); -- cgit v1.2.1