Skip to content

Commit

Permalink
Revert clang-13 fix unused-lambda-capture (was breaking Windows build)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesfleche committed Jul 15, 2022
1 parent ccb6ec3 commit 6414130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pxr/imaging/hdx/selectionTracker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ HdxSelectionTracker::_GetSelectionOffsets(HdSelection::HighlightMode const& mode

size_t const N = 1000;
WorkParallelForN(numPrims/N + 1,
[&ids, index, &selectedPrims](size_t begin, size_t end) mutable {
[&ids, index, N, &selectedPrims](size_t begin, size_t end) mutable {
end = std::min(end*N, ids.size());
begin = begin*N;
for (size_t i = begin; i < end; i++) {
Expand Down

0 comments on commit 6414130

Please sign in to comment.