aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-18 14:54:04 +0000
committerGravatar Sadie Powell2023-01-18 14:57:57 +0000
commit9ed53d543ffab5666986e704eae1c1977734fb90 (patch)
tree6bcf30badaa9e743bda0832ded14302c1a8e76a2 /include/modules
parentThe 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.h3
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.
*/