summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-31 16:08:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 16:08:42 +0300
commit499a0bc5b9c7d57c227eaf16d11b14865bd066d5 (patch)
treed7c59dc2bbe2c70a50beb6c643b7130696f7e360 /src/utils
parent0bb3d04819283bebb2e499d8d3b4a6acbbc7e790 (diff)
downloadmanaverse-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.tar.gz
manaverse-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.tar.bz2
manaverse-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.tar.xz
manaverse-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.zip
Add missing notfinal/final to classes.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/dtor.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/dtor.h b/src/utils/dtor.h
index c14ec41f6..52c44ead9 100644
--- a/src/utils/dtor.h
+++ b/src/utils/dtor.h
@@ -27,8 +27,10 @@
#include <functional>
#include <utility>
+#include "localconsts.h"
+
template<typename T>
-struct dtor : public std::unary_function <T, void>
+struct dtor final : public std::unary_function <T, void>
{
void operator()(T &ptr)
{ delete ptr; }