calm down -Wdelete-non-virtual-dtor warnings

remove -Wno-non-virtual-dtor from makefile (what does it do anyway? -Wdelete-non-virtual-dtor is part of -Wall)
This commit is contained in:
Garux
2019-02-26 19:08:47 +03:00
parent 812a8b6001
commit 1628abfd0f
23 changed files with 48 additions and 47 deletions

View File

@@ -308,7 +308,7 @@ void render( RenderStateFlags state ) const {
///
/// - Notifies observers when value changes - value changes to "" on destruction.
/// - Provides undo support through the global undo system.
class KeyValue : public EntityKeyValue
class KeyValue final : public EntityKeyValue
{
typedef UnsortedSet<KeyObserver> KeyObservers;