diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-31 16:08:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-31 16:08:42 +0300 |
commit | 499a0bc5b9c7d57c227eaf16d11b14865bd066d5 (patch) | |
tree | d7c59dc2bbe2c70a50beb6c643b7130696f7e360 /src/utils | |
parent | 0bb3d04819283bebb2e499d8d3b4a6acbbc7e790 (diff) | |
download | plus-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.tar.gz plus-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.tar.bz2 plus-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.tar.xz plus-499a0bc5b9c7d57c227eaf16d11b14865bd066d5.zip |
Add missing notfinal/final to classes.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/dtor.h | 4 |
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; } |