Skip to content

Commit

Permalink
Merge pull request #2350 from nvmkuruc/sdflayerloop
Browse files Browse the repository at this point in the history
Fix ranged loop type in `SdfLayer`

(Internal change: 2288593)
  • Loading branch information
pixar-oss committed Aug 3, 2023
2 parents 4d6d5bd + c073179 commit cc3cba5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pxr/usd/sdf/layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4120,8 +4120,7 @@ SdfLayer::_SetData(const SdfAbstractDataPtr &newData,
if (!updater.unrecognizedFields.empty()) {
vector<string> fieldDescrs;
fieldDescrs.reserve(updater.unrecognizedFields.size());
for (std::pair<TfToken, SdfPath> const &tokenPath:
updater.unrecognizedFields) {
for (auto const &tokenPath: updater.unrecognizedFields) {
fieldDescrs.push_back(
TfStringPrintf("'%s' first seen at <%s>",
tokenPath.first.GetText(),
Expand Down

0 comments on commit cc3cba5

Please sign in to comment.