From 84da9b306bbbf8b14db0cd344cde9c4d0647f361 Mon Sep 17 00:00:00 2001 From: Matt Kuruc Date: Mon, 14 Aug 2023 09:00:33 -0700 Subject: [PATCH] Remove unused internal macros from `pxr/usd/sdf/types.h` --- pxr/usd/sdf/types.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pxr/usd/sdf/types.h b/pxr/usd/sdf/types.h index c4a7b817bc..5881496aae 100644 --- a/pxr/usd/sdf/types.h +++ b/pxr/usd/sdf/types.h @@ -68,7 +68,6 @@ #include #include -#include #include #include #include @@ -261,20 +260,9 @@ enum _SDF_UNITSLIST_ENUM(elem) { \ }; BOOST_PP_LIST_FOR_EACH(_SDF_DECLARE_UNIT_ENUM, ~, _SDF_UNITS) -// Compute the max number of enumerants over all unit enums -#define _SDF_MAX_UNITS_OP(d, state, list) \ - BOOST_PP_MAX_D(d, state, BOOST_PP_SEQ_SIZE(_SDF_UNITSLIST_TUPLES(list))) -#define _SDF_UNIT_MAX_UNITS \ - BOOST_PP_LIST_FOLD_LEFT(_SDF_MAX_UNITS_OP, 0, _SDF_UNITS) - // Compute the number of unit enums #define _SDF_UNIT_NUM_TYPES BOOST_PP_LIST_SIZE(_SDF_UNITS) -// Compute the number of bits needed to hold _SDF_UNIT_MAX_UNITS and -// _SDF_UNIT_NUM_TYPES. -#define _SDF_UNIT_MAX_UNITS_BITS TF_BITS_FOR_VALUES(_SDF_UNIT_MAX_UNITS) -#define _SDF_UNIT_TYPES_BITS TF_BITS_FOR_VALUES(_SDF_UNIT_NUM_TYPES) - /// A map of mapper parameter names to parameter values. typedef std::map SdfMapperParametersMap;