diff --git a/sol/types.hpp b/sol/types.hpp index e8817f97..6ad6bb8b 100644 --- a/sol/types.hpp +++ b/sol/types.hpp @@ -343,7 +343,7 @@ namespace sol { memory = LUA_ERRMEM, gc = LUA_ERRGCMM, handler = LUA_ERRERR, - dead, + dead = -1, }; enum class load_status : int {