From bf09edcd637e7079f3f5e7271839d9a2582537f4 Mon Sep 17 00:00:00 2001 From: Bart Beumer Date: Fri, 29 Mar 2024 09:35:37 +0100 Subject: [PATCH] Fixed Clang 17.0.2 not being able to build the code. --- bmrshared/include/bmrshared/function_wrapper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bmrshared/include/bmrshared/function_wrapper.hpp b/bmrshared/include/bmrshared/function_wrapper.hpp index 9622be2..ceaabdf 100644 --- a/bmrshared/include/bmrshared/function_wrapper.hpp +++ b/bmrshared/include/bmrshared/function_wrapper.hpp @@ -34,7 +34,7 @@ struct function_wrapper std::array names{paramNames...}; return [callableFn, names](const T& obj, const IDataSource& source, TExtraArguments... args) { - return invoke(obj, callableFn, names, source, args...); + return invoke(obj, callableFn, names, source, args...); }; } }; @@ -52,7 +52,7 @@ struct function_wrapper std::array names{paramNames...}; return [callableFn, names](T& obj, const IDataSource& source, TExtraArguments... args) { - return invoke(obj, callableFn, names, source, args...); + return invoke(obj, callableFn, names, source, args...); }; } };