VC++'s late instantiation killing me on things being used technically before they're defined, but being inside templates makes it bad...

This commit is contained in:
ThePhD 2017-03-12 21:42:43 -04:00
parent dce8053248
commit 84554c90ea
2 changed files with 1 additions and 2 deletions

View File

@ -31,8 +31,6 @@
namespace sol { namespace sol {
namespace usertype_detail { namespace usertype_detail {
const lua_Integer toplevel_magic = static_cast<lua_Integer>(0x00000001);
struct variable_wrapper { struct variable_wrapper {
virtual int index(lua_State* L) = 0; virtual int index(lua_State* L) = 0;
virtual int new_index(lua_State* L) = 0; virtual int new_index(lua_State* L) = 0;

View File

@ -36,6 +36,7 @@
namespace sol { namespace sol {
namespace usertype_detail { namespace usertype_detail {
const lua_Integer toplevel_magic = static_cast<lua_Integer>(0x00020001);
struct add_destructor_tag {}; struct add_destructor_tag {};
struct check_destructor_tag {}; struct check_destructor_tag {};