Guard against null pointers and remove unnecessary include.

This commit is contained in:
Daniel Buckmaster 2014-12-23 22:17:00 +11:00
parent 7004ec627e
commit 859514a792
2 changed files with 10 additions and 9 deletions

View file

@ -45,8 +45,6 @@ class SimObject;
#include "console/sim.h"
#endif
#include "core/strings/stringFunctions.h"
struct StringTableEntryHash
{
inline size_t operator()(StringTableEntry val) const
@ -67,8 +65,6 @@ typedef std::unordered_map<StringTableEntry, SimObject*, StringTableEntryHash, S
typedef std::unordered_map<SimObjectId, SimObject*> SimObjectIdDictDef;
#endif
//----------------------------------------------------------------------------
/// Map of names to SimObjects
///