summaryrefslogtreecommitdiff
path: root/include/modules/redis.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/redis.h')
-rw-r--r--include/modules/redis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules/redis.h b/include/modules/redis.h
index a5e878eac..fcd4e20ed 100644
--- a/include/modules/redis.h
+++ b/include/modules/redis.h
@@ -6,6 +6,8 @@
* Please read COPYING and README for further details.
*/
+#pragma once
+
namespace Redis
{
struct Reply
@@ -47,7 +49,7 @@ namespace Redis
Module *owner;
Interface(Module *m) : owner(m) { }
- virtual ~Interface() { }
+ virtual ~Interface() = default;
virtual void OnResult(const Reply &r) = 0;
virtual void OnError(const Anope::string &error) { Log(owner) << error; }