From 74dd12ddeae401e999f7441dcb26bea87fa5ea72 Mon Sep 17 00:00:00 2001 From: Nav Date: Tue, 3 May 2022 20:01:32 +0100 Subject: [PATCH] Enabled G++'s warning RE using override keyword for overriding virtual member functions --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d19556bd..1ee6a4ad 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,6 +105,7 @@ target_compile_options( PUBLIC -Wconversion PUBLIC -Wpessimizing-move PUBLIC -Wredundant-move + PUBLIC -Wsuggest-override PUBLIC -fno-sized-deallocation PUBLIC $<$:-g> PUBLIC $<$:-O0>