summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-28 19:29:05 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-28 19:29:05 +0300
commit00f62e4f3db5aa737b4242a3d691d2ade299fc72 (patch)
treeee6fd7021bc7e4a69a1f9e69a4f3c3041f183f4d /src/utils
parent1fc73fd6d8cb70e306b3bdeb375de1dd1e9458cc (diff)
downloadmanaplus-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.h2
-rw-r--r--src/utils/xml/pugixml.h2
-rw-r--r--src/utils/xml/tinyxml2.h2
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