Removed unused boost header, fixed compiling with new luabind

Fixed TryFinishingBlow attempting to return by parameter reference.
The new luabind fails with a by_reference to by_value check. Using
a pointer accomplishes the same goal, but bypasses this issue.
This commit is contained in:
Adam Martin
2019-02-02 00:08:39 -06:00
parent 26eb4fb6e0
commit 5f23a72a16
5 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ luabind::scope lua_register_hate_entry() {
luabind::scope lua_register_hate_list() {
return luabind::class_<Lua_HateList>("HateList")
.def_readwrite("entries", &Lua_HateList::entries, luabind::return_stl_iterator);
.def_readwrite("entries", &Lua_HateList::entries, luabind::return_stl_iterator());
}
#endif