Fix luabind::adl::object forward declare for clang

clang didn't like this, and GCC likes both :P
This commit is contained in:
Michael Cook (mackal) 2016-05-04 03:00:56 -04:00
parent 9ab459292b
commit a49aef24c5
2 changed files with 7 additions and 3 deletions

View File

@ -8,8 +8,10 @@ class Encounter;
namespace luabind { namespace luabind {
struct scope; struct scope;
namespace adl {
class object; class object;
} }
}
luabind::scope lua_register_encounter(); luabind::scope lua_register_encounter();

View File

@ -11,8 +11,10 @@ class Lua_ItemInst;
namespace luabind { namespace luabind {
struct scope; struct scope;
namespace adl {
class object; class object;
} }
}
luabind::scope lua_register_mob(); luabind::scope lua_register_mob();
luabind::scope lua_register_special_abilities(); luabind::scope lua_register_special_abilities();