build: add -Wpessimizing-move

This commit is contained in:
Marcus Holland-Moritz 2024-12-03 21:17:54 +01:00
parent 9df98e69f0
commit afa370c7fa

View File

@ -649,6 +649,7 @@ foreach(tgt ${LIBDWARFS_TARGETS} ${LIBDWARFS_OBJECT_TARGETS} dwarfs_test_helpers
-Wold-style-cast
-Wnon-virtual-dtor
-Wsuggest-override
-Wpessimizing-move
>
-Wfloat-equal
-Wcast-align