From 0a49bcd60602457bdcc0979fee8c9fde3e2c1967 Mon Sep 17 00:00:00 2001 From: Rob Bateman Date: Wed, 5 Aug 2020 17:40:25 +1000 Subject: [PATCH] replaced std::map with std::unordered_map. Appears to be more resilient to garbage --- plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/ProxyShape.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/ProxyShape.h b/plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/ProxyShape.h index ed170bf05d..84ca70a847 100644 --- a/plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/ProxyShape.h +++ b/plugin/al/lib/AL_USDMaya/AL/usdmaya/nodes/ProxyShape.h @@ -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 TransformReferenceMap; + typedef std::unordered_map TransformReferenceMap; TransformReferenceMap m_requiredPaths;