Skip to content

Commit

Permalink
Merge pull request #5935 from tjhei/clang-tidy-fixes2
Browse files Browse the repository at this point in the history
clang tidy rule fix and a fix
  • Loading branch information
tjhei authored Jun 24, 2024
2 parents b302651 + e278ad3 commit e282a89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Checks: >
use-emplace,
mpi-*,
performance-*,
-performance-avoid-endl
-performance-avoid-endl,
-performance-enum-size,
-performance-inefficient-string-concatenation,
-performance-no-automatic-move,
-performance-no-automatic-move
2 changes: 1 addition & 1 deletion source/postprocess/visualization.cc
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ namespace aspect
output_history.background_thread.join();
// ...then continue with writing our own data.
output_history.background_thread
= std::thread([ my_filename = std::move(filename),
= std::thread([ my_filename = filename, // filename is const, so we can not move from it
my_temporary_output_location = temporary_output_location,
my_file_contents = std::move(file_contents)]()
{
Expand Down

0 comments on commit e282a89

Please sign in to comment.