Skip to content

Commit

Permalink
Merge pull request #2530 from nvmkuruc/tftokennumargs
Browse files Browse the repository at this point in the history
Replace `TF_NUM_ARGS` with `TF_PP_VARIADIC_SIZE` in `staticTokens.h`

(Internal change: 2285913)
  • Loading branch information
pixar-oss committed Jul 26, 2023
2 parents a3c7466 + 1a3d88d commit bf91328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/base/tf/staticTokens.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ PXR_NAMESPACE_OPEN_SCOPE
/// Macro to define public tokens. This declares a list of tokens that can be
/// used globally. Use in conjunction with TF_DEFINE_PUBLIC_TOKENS.
/// \hideinitializer
#define TF_DECLARE_PUBLIC_TOKENS(...) _TF_DECLARE_PUBLIC_TOKENS_EXPAND( _TF_DECLARE_PUBLIC_TOKENS_EVAL(_TF_DECLARE_PUBLIC_TOKENS_EXPAND( TF_NUM_ARGS(__VA_ARGS__) ))(__VA_ARGS__) )
#define TF_DECLARE_PUBLIC_TOKENS(...) _TF_DECLARE_PUBLIC_TOKENS_EXPAND( _TF_DECLARE_PUBLIC_TOKENS_EVAL(_TF_DECLARE_PUBLIC_TOKENS_EXPAND( TF_PP_VARIADIC_SIZE(__VA_ARGS__) ))(__VA_ARGS__) )

/// Macro to define public tokens. Use in conjunction with
/// TF_DECLARE_PUBLIC_TOKENS.
Expand Down

0 comments on commit bf91328

Please sign in to comment.