Have to add constructor to make const variables work.

This commit is contained in:
Rapptz 2014-09-05 15:50:40 -04:00
parent a2237eb068
commit 084a9407c6

View File

@ -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<typename T, typename Func, typename = void>