Skip to content

Commit

Permalink
Replace boost::unordered_map with std::unordered_map in `pxr/usd/…
Browse files Browse the repository at this point in the history
…pcp/layerStackRegistry.cpp`
  • Loading branch information
nvmkuruc committed Feb 13, 2023
1 parent 1d2f18b commit 30e4048
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 @@ -55,16 +54,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 30e4048

Please sign in to comment.