aboutsummaryrefslogtreecommitdiff
path: root/src/game/ObjectAccessor.h
diff options
context:
space:
mode:
authormegamage <none@none>2009-04-10 17:56:42 -0500
committermegamage <none@none>2009-04-10 17:56:42 -0500
commitc106914e945dbf5ce9a249a80f1e30ca10bf06e2 (patch)
tree0f4c8d9a32e3673d4d80303e7e03e613b5195594 /src/game/ObjectAccessor.h
parent7f5a9de703f17a2d5fb66ff0a04400d4faa774d9 (diff)
*Remove some invalid template functions.
--HG-- branch : trunk
Diffstat (limited to 'src/game/ObjectAccessor.h')
-rw-r--r--src/game/ObjectAccessor.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/ObjectAccessor.h b/src/game/ObjectAccessor.h
index d1549712f30..1f413e2db40 100644
--- a/src/game/ObjectAccessor.h
+++ b/src/game/ObjectAccessor.h
@@ -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);