Skip to content

Commit

Permalink
Replace BOOST_PP_CAT with TF_PP_CAT in pxr/usd/pcp/diagnostic.h
Browse files Browse the repository at this point in the history
  • Loading branch information
nvmkuruc committed Mar 14, 2023
1 parent 84bd5a9 commit e345c00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pxr/usd/pcp/diagnostic.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
#include "pxr/usd/pcp/errors.h"

#include "pxr/base/arch/hints.h"

#include <boost/preprocessor/cat.hpp>
#include "pxr/base/tf/preprocessorUtilsLite.h"

#include <string>

Expand Down Expand Up @@ -90,7 +89,7 @@ Pcp_ToIndex(T const &obj) { return obj->GetOriginatingIndex(); }

/// Opens a scope indicating a particular phase during prim indexing.
#define PCP_INDEXING_PHASE(indexer, node, ...) \
auto BOOST_PP_CAT(_pcpIndexingPhase, __LINE__) = \
auto TF_PP_CAT(_pcpIndexingPhase, __LINE__) = \
ARCH_UNLIKELY(TfDebug::IsEnabled(PCP_PRIM_INDEX)) ? \
Pcp_IndexingPhaseScope(Pcp_ToIndex(indexer), \
node, TfStringPrintf(__VA_ARGS__)) : \
Expand Down

0 comments on commit e345c00

Please sign in to comment.