Skip to content

Commit

Permalink
clangimport.cpp: fixed performance-move-const-arg clang-tidy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Feb 5, 2024
1 parent 1d3d378 commit 893aff5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/clangimport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ namespace clangimport {
if (it != mNotFound.end()) {
for (Token *reftok: it->second)
ref(addr, reftok);
mNotFound.erase(std::move(it));
mNotFound.erase(it);
}
}

Expand Down

0 comments on commit 893aff5

Please sign in to comment.