diff options
author | Adam <Adam@anope.org> | 2014-05-28 12:29:37 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-05-28 12:29:37 -0400 |
commit | 0dba0692f9f88275b7d89d511bf22124217bc4c6 (patch) | |
tree | f7f7d0672f31ab37a7b15b128a29d454261e8541 /include/modules/encryption.h | |
parent | f97e339314257fa37cfcab0c2289fb6812e32e85 (diff) |
Mark pure virtual functions with anope_abstract
Diffstat (limited to 'include/modules/encryption.h')
-rw-r--r-- | include/modules/encryption.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/modules/encryption.h b/include/modules/encryption.h index 95c5703aa..3fe06cc2b 100644 --- a/include/modules/encryption.h +++ b/include/modules/encryption.h @@ -19,9 +19,9 @@ namespace Encryption { public: virtual ~Context() { } - virtual void Update(const unsigned char *data, size_t len) = 0; - virtual void Finalize() = 0; - virtual Hash GetFinalizedHash() = 0; + virtual void Update(const unsigned char *data, size_t len) anope_abstract; + virtual void Finalize() anope_abstract; + virtual Hash GetFinalizedHash() anope_abstract; }; class Provider : public Service @@ -30,8 +30,8 @@ namespace Encryption Provider(Module *creator, const Anope::string &sname) : Service(creator, "Encryption::Provider", sname) { } virtual ~Provider() { } - virtual Context *CreateContext(IV * = NULL) = 0; - virtual IV GetDefaultIV() = 0; + virtual Context *CreateContext(IV * = NULL) anope_abstract; + virtual IV GetDefaultIV() anope_abstract; }; } |