Skip to content

Commit

Permalink
replaced std::map with std::unordered_map. Appears to be more resilie…
Browse files Browse the repository at this point in the history
…nt to garbage
  • Loading branch information
Rob Bateman authored and Rob Bateman committed Aug 5, 2020
1 parent 48d00ee commit 0a49bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/ProxyShape.h
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ class ProxyShape
/// If we then later create a USD transform node (because we're bringing in all of them, or just a selection of them),
/// then we must make sure that we don't end up duplicating paths. This map is use to store a LUT of the paths that
/// must always exist, and never get deleted.
typedef std::map<SdfPath, TransformReference> TransformReferenceMap;
typedef std::unordered_map<SdfPath, TransformReference, SdfPath::Hash> TransformReferenceMap;
TransformReferenceMap m_requiredPaths;


Expand Down

0 comments on commit 0a49bcd

Please sign in to comment.