From 0003652240328e8d402df7c7a3b0ba35c0bda219 Mon Sep 17 00:00:00 2001 From: kevin Heifner Date: Fri, 10 Oct 2025 08:53:13 -0500 Subject: [PATCH] Fix clang-18 compile issue --- include/eosio/vm/backend.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/eosio/vm/backend.hpp b/include/eosio/vm/backend.hpp index fb176f0..1aa6b5c 100644 --- a/include/eosio/vm/backend.hpp +++ b/include/eosio/vm/backend.hpp @@ -216,13 +216,13 @@ namespace eosio { namespace vm { } template - inline auto operator()(host_t& host, const std::string_view& mod, const std::string_view& func, Args... args) { - return call(host, mod, func, args...); + inline auto operator()(host_t& host, const std::string_view& mod, const std::string_view& func, Args&&... args) { + return call(host, mod, func, std::forward(args)...); } template - inline bool operator()(const std::string_view& mod, const std::string_view& func, Args... args) { - return call(mod, func, args...); + inline bool operator()(const std::string_view& mod, const std::string_view& func, Args&&... args) { + return call(mod, func, std::forward(args)...); } // Only dynamic options matter. Parser options will be ignored.