clang-tidy (#9)

- Fixed some clang-tidy warnings
- Fixed issue with omnitrace_launch_compiler + clang-tidy
This commit is contained in:
Jonathan R. Madsen
2022-05-25 14:18:55 -05:00
committed by GitHub
parent ee67748042
commit 6af5b2a7e2
5 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -1022,7 +1022,7 @@ omnitrace_finalize_hidden(void)
auto& _aitr = get_timemory_hash_aliases(i);
if(_hzero && _hitr)
{
for(auto itr : *_hitr)
for(const auto& itr : *_hitr)
_hzero->emplace(itr.first, itr.second);
}
if(_azero && _aitr)