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 4, 2024
1 parent d307417 commit be9976b
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 be9976b

Please sign in to comment.