*Remove some invalid template functions.
--HG-- branch : trunk
This commit is contained in:
@@ -164,22 +164,11 @@ class TRINITY_DLL_DECL ObjectAccessor : public Trinity::Singleton<ObjectAccessor
|
||||
return HashMapHolder<Creature>::GetContainer();
|
||||
}
|
||||
|
||||
HashMapHolder<Unit>::MapType& GetUnits()
|
||||
{
|
||||
return HashMapHolder<Unit>::GetContainer();
|
||||
}
|
||||
|
||||
HashMapHolder<GameObject>::MapType& GetGameObjects()
|
||||
{
|
||||
return HashMapHolder<GameObject>::GetContainer();
|
||||
}
|
||||
|
||||
// note: possibly very heavy
|
||||
HashMapHolder<WorldObject>::MapType& GetWorldObjects()
|
||||
{
|
||||
return HashMapHolder<WorldObject>::GetContainer();
|
||||
}
|
||||
|
||||
template<class T> void AddObject(T *object)
|
||||
{
|
||||
HashMapHolder<T>::Insert(object);
|
||||
|
||||
Reference in New Issue
Block a user