Skip to content

Commit

Permalink
Fix for Clang tidy, needed for fbcode include (#44655)
Browse files Browse the repository at this point in the history
Summary:

Required to compile with clang

Differential Revision: D57721635
  • Loading branch information
jmavra authored and facebook-github-bot committed May 23, 2024
1 parent 07261d0 commit a3c3e57
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ void fromRawValue(
auto length = items.size();
result.clear();
result.reserve(length);
for (size_t i = 0; i < length; i++) {
for (auto& item : items) {
T itemResult;
fromRawValue(context, items.at(i), itemResult);
fromRawValue(context, item, itemResult);
result.push_back(itemResult);
}
return;
Expand All @@ -89,9 +89,9 @@ void fromRawValue(
auto length = items.size();
result.clear();
result.reserve(length);
for (int i = 0; i < length; i++) {
for (auto& item : items) {
T itemResult;
fromRawValue(context, items.at(i), itemResult);
fromRawValue(context, item, itemResult);
result.push_back(itemResult);
}
return;
Expand Down

0 comments on commit a3c3e57

Please sign in to comment.