Skip to content

Commit

Permalink
Fix asan issue with tiny profiler
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf committed Aug 6, 2024
1 parent 4efca79 commit 47ed40a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Base/AMReX_TinyProfiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ TinyProfiler::PrintStats (std::map<std::string,Stats>& regstats, double dt_max)
bool alreadySynced;

for(auto const& kv : regstats) {
localStrings.push_back(kv.first);
localStrings.emplace_back(kv.first);
}

amrex::SyncStrings(localStrings, syncedStrings, alreadySynced);
Expand Down

0 comments on commit 47ed40a

Please sign in to comment.