mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user