diff options
| author | 2023-01-18 14:54:04 +0000 | |
|---|---|---|
| committer | 2023-01-18 14:57:57 +0000 | |
| commit | 9ed53d543ffab5666986e704eae1c1977734fb90 (patch) | |
| tree | 6bcf30badaa9e743bda0832ded14302c1a8e76a2 /include/modules | |
| parent | The cloak_md5 module needs the md5 module not the sha2 module. (diff) | |
Fix Cloak::Method and Log::Method being needlessly Cullable.
If a method needs to be cullable it can inherit from that type and
pass Cullable::Deleter as a custom deleter to the shared_ptr.
Diffstat (limited to 'include/modules')
| -rw-r--r-- | include/modules/cloak.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/modules/cloak.h b/include/modules/cloak.h index 050f03562..7a714c947 100644 --- a/include/modules/cloak.h +++ b/include/modules/cloak.h @@ -73,7 +73,6 @@ public: /** Base class for cloak methods. */ class Cloak::Method - : public Cullable { private: /** The name of the engine that created this method. */ @@ -86,6 +85,8 @@ protected: } public: + virtual ~Method() = default; + /** Generates a cloak for the specified user. * @param user The user to generate a cloak for. */ |
