Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace boost::unordered_map with std::unordered_map in pxr/usd/pcp/layerStackRegistry.cpp #2227

Merged
merged 1 commit into from
Jul 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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