diff --git a/sol/function_types.hpp b/sol/function_types.hpp index 26c88d38..8ea6c390 100644 --- a/sol/function_types.hpp +++ b/sol/function_types.hpp @@ -28,7 +28,10 @@ namespace sol { namespace detail { -struct ref_call_t {}; +struct ref_call_t { + ref_call_t() {} +}; + const auto ref_call = ref_call_t{}; template