diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-28 19:29:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-28 19:29:05 +0300 |
commit | 00f62e4f3db5aa737b4242a3d691d2ade299fc72 (patch) | |
tree | ee6fd7021bc7e4a69a1f9e69a4f3c3041f183f4d /src/utils | |
parent | 1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff) | |
download | manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.gz manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.bz2 manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.tar.xz manaplus-00f62e4f3db5aa737b4242a3d691d2ade299fc72.zip |
Add missing override and final to destructors.
Also remove some empty destructors.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/xml/libxml.h | 2 | ||||
-rw-r--r-- | src/utils/xml/pugixml.h | 2 | ||||
-rw-r--r-- | src/utils/xml/tinyxml2.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/xml/libxml.h b/src/utils/xml/libxml.h index 6ec0ce08d..1e4292e08 100644 --- a/src/utils/xml/libxml.h +++ b/src/utils/xml/libxml.h @@ -74,7 +74,7 @@ namespace XML /** * Destructor. Frees the loaded XML file. */ - ~Document(); + ~Document() override final; /** * Returns the root node of the document (or NULL if there was a diff --git a/src/utils/xml/pugixml.h b/src/utils/xml/pugixml.h index e4337140e..30d4e2d5b 100644 --- a/src/utils/xml/pugixml.h +++ b/src/utils/xml/pugixml.h @@ -74,7 +74,7 @@ namespace XML /** * Destructor. Frees the loaded XML file. */ - ~Document(); + ~Document() override final; /** * Returns the root node of the document (or NULL if there was a diff --git a/src/utils/xml/tinyxml2.h b/src/utils/xml/tinyxml2.h index f056dc43a..1db1f7421 100644 --- a/src/utils/xml/tinyxml2.h +++ b/src/utils/xml/tinyxml2.h @@ -74,7 +74,7 @@ namespace XML /** * Destructor. Frees the loaded XML file. */ - ~Document(); + ~Document() override final; /** * Returns the root node of the document (or NULL if there was a |