From 084a9407c69bca7c5b72dacb1c6177440f203338 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 5 Sep 2014 15:50:40 -0400 Subject: [PATCH] Have to add constructor to make const variables work. --- sol/function_types.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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