Fix compile in linux.

This commit is contained in:
megamage committed 2011-11-10 18:14:07 -05:00
1 parent 31a88d4fe5
commit 847fc35e6d
1 file changed
+5 -5
+5 -5
View File
@@ -108,11 +108,11 @@ class TypeMapContainer
}
/// Removes the object from the container, and returns the removed object
template<class SPECIFIC_TYPE> bool remove(SPECIFIC_TYPE* obj)
{
SPECIFIC_TYPE* t = Trinity::Remove(i_elements, obj);
return (t != NULL);
}
//template<class SPECIFIC_TYPE> bool remove(SPECIFIC_TYPE* obj)
//{
// SPECIFIC_TYPE* t = Trinity::Remove(i_elements, obj);
// return (t != NULL);
//}
ContainerMapList<OBJECT_TYPES> & GetElements(void) { return i_elements; }
const ContainerMapList<OBJECT_TYPES> & GetElements(void) const { return i_elements;}