Skip to content

Commit

Permalink
Fix invalid use of C++ identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
JGamache-autodesk authored and seando-adsk committed Jan 25, 2023
1 parent 254a922 commit 4545ae1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pxr/usd/usdMtlx/parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ TF_DEFINE_PRIVATE_TOKENS(
(defaultgeomprop)
(defaultinput)
(doc)
(enum)
((enum_, "enum"))
(enumvalues)
(nodecategory)
(nodegroup)
Expand Down Expand Up @@ -178,7 +178,7 @@ ParseOptions(
const mx::ConstElementPtr& element
)
{
const auto& enumLabels = element->getAttribute(_tokens->enum);
const auto& enumLabels = element->getAttribute(_tokens->enum_);
if (enumLabels.empty()) {
return;
}
Expand Down

0 comments on commit 4545ae1

Please sign in to comment.