Skip to content

Commit

Permalink
Iterator must be compared with the end iterator from the same
Browse files Browse the repository at this point in the history
unordered_map.

Fixes PixarAnimationStudios#2197

(Internal change: 2261675)

(cherry picked from commit 2bc30d4)
  • Loading branch information
cvj authored and seando-adsk committed Feb 29, 2024
1 parent 031a7f3 commit b26feee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/usdImaging/usdImaging/adapterRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ UsdImagingAdapterRegistry::_ConstructAdapter(
// Lookup the plug-in type name based on the prim type.
_TypeMap::const_iterator typeIt = tm.find(adapterKey);

if (typeIt == _typeMap.end()) {
if (typeIt == tm.end()) {
// Unknown prim type.
TF_DEBUG(USDIMAGING_PLUGINS).Msg("[PluginLoad] Unknown prim "
"type '%s'\n",
Expand Down

0 comments on commit b26feee

Please sign in to comment.