diff --git a/.clang-tidy b/.clang-tidy index 6dd6608e948..3ed28388e35 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -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 diff --git a/source/postprocess/visualization.cc b/source/postprocess/visualization.cc index 61e3886af92..066401f7d1c 100644 --- a/source/postprocess/visualization.cc +++ b/source/postprocess/visualization.cc @@ -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)]() {