Skip to content

Commit

Permalink
Merge pull request #2227 from nvmkuruc/pcpuserobin
Browse files Browse the repository at this point in the history
Replace `boost::unordered_map` with `std::unordered_map` in `pxr/usd/pcp/layerStackRegistry.cpp`

(Internal change: 2284862)
  • Loading branch information
pixar-oss committed Jul 26, 2023
2 parents d8ee144 + 30e4048 commit 7f088d0
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions pxr/usd/pcp/layerStackRegistry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,8 @@

#include <tbb/queuing_rw_mutex.h>

#include <boost/unordered_map.hpp>

#include <algorithm>
#include <unordered_map>
#include <utility>

using std::pair;
Expand All @@ -57,16 +56,16 @@ class Pcp_LayerStackRegistryData {

typedef SdfLayerHandleVector Layers;
typedef PcpLayerStackPtrVector LayerStacks;
typedef boost::unordered_map<PcpLayerStackIdentifier, PcpLayerStackPtr>
IdentifierToLayerStack;
typedef boost::unordered_map<SdfLayerHandle, LayerStacks>
typedef std::unordered_map<PcpLayerStackIdentifier, PcpLayerStackPtr,
TfHash> IdentifierToLayerStack;
typedef std::unordered_map<SdfLayerHandle, LayerStacks, TfHash>
LayerToLayerStacks;
typedef boost::unordered_map<PcpLayerStackPtr, Layers>
typedef std::unordered_map<PcpLayerStackPtr, Layers, TfHash>
LayerStackToLayers;

typedef boost::unordered_map<std::string, LayerStacks>
typedef std::unordered_map<std::string, LayerStacks, TfHash>
MutedLayerIdentifierToLayerStacks;
typedef boost::unordered_map<PcpLayerStackPtr, std::set<std::string> >
typedef std::unordered_map<PcpLayerStackPtr, std::set<std::string>, TfHash>
LayerStackToMutedLayerIdentifiers;

IdentifierToLayerStack identifierToLayerStack;
Expand Down

0 comments on commit 7f088d0

Please sign in to comment.