mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Have to add constructor to make const variables work.
This commit is contained in:
parent
a2237eb068
commit
084a9407c6
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user