Skip to content

Commit

Permalink
xrEngine/IGame_Level.h: Removed unused templates.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaffeine authored and nitrocaster committed Nov 10, 2015
1 parent eaad5fb commit 0a8247b
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/xrEngine/IGame_Level.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,23 +120,4 @@ class ENGINE_API IGame_Level :
//-----------------------------------------------------------------------------------------------------------
extern ENGINE_API IGame_Level* g_pGameLevel;

template <typename _class_type>
void relcase_register(_class_type* self, void (xr_stdcall _class_type::* function_to_bind)(CObject*))
{
g_pGameLevel->Objects.relcase_register(
CObjectList::RELCASE_CALLBACK(
self,
function_to_bind)
);
}

template <typename _class_type>
void relcase_unregister(_class_type* self, void (xr_stdcall _class_type::* function_to_bind)(CObject*))
{
g_pGameLevel->Objects.relcase_unregister(
CObjectList::RELCASE_CALLBACK(
self,
function_to_bind)
);
}
#endif

0 comments on commit 0a8247b

Please sign in to comment.