Skip to content

Commit

Permalink
Merge pull request Autodesk#144 from rnd/PIPE-2808-use_hash_map
Browse files Browse the repository at this point in the history
replaced std::map with std::unordered_map. Appears to be more resilie…
  • Loading branch information
Rob Bateman authored and GitHub Enterprise committed Aug 11, 2020
2 parents 5931179 + 0a49bcd commit 5fde043
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 5fde043

Please sign in to comment.