mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Guard against null pointers and remove unnecessary include.
This commit is contained in:
parent
7004ec627e
commit
859514a792
2 changed files with 10 additions and 9 deletions
|
|
@ -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
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue