Skip to content

Commit

Permalink
Make TF_EAT_PARENS not depend on boost
Browse files Browse the repository at this point in the history
  • Loading branch information
nvmkuruc committed Jul 12, 2023
1 parent 21e8eff commit e3397b5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pxr/base/tf/preprocessorUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

#include "pxr/base/arch/defines.h"
#include "pxr/base/arch/pragmas.h"
#include "pxr/base/tf/preprocessorUtilsLite.h"
#include <boost/preprocessor/arithmetic/inc.hpp>
#include <boost/preprocessor/arithmetic/sub.hpp>
#include <boost/preprocessor/cat.hpp>
Expand Down Expand Up @@ -141,7 +142,7 @@ ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS
// 0. No other values of c are allowed. We can't use BOOST_PP_IFF() because
// it won't expand during stringizing under MSVC.
#define _TF_PP_EAT_PARENS_IFF(c, t, f) \
BOOST_PP_CAT(_TF_PP_EAT_PARENS_IFF_, c)(t, f)
TF_PP_CAT(_TF_PP_EAT_PARENS_IFF_, c)(t, f)
#define _TF_PP_EAT_PARENS_IFF_0(t, f) f
#define _TF_PP_EAT_PARENS_IFF_1(t, f) t

Expand Down

0 comments on commit e3397b5

Please sign in to comment.