1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 16:53:13 +02:00

Use C++11 default initializers and destructors where possible.

This commit is contained in:
Sadie Powell
2022-01-03 18:52:15 +00:00
parent 7531e90499
commit a31a7f5a6c
34 changed files with 52 additions and 93 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ namespace SQL
public:
Exception(const Anope::string &reason) : ModuleException(reason) { }
virtual ~Exception() throw() { }
virtual ~Exception() throw() = default;
};
/** A SQL query
@@ -187,7 +187,7 @@ namespace SQL
Module *owner;
Interface(Module *m) : owner(m) { }
virtual ~Interface() { }
virtual ~Interface() = default;
virtual void OnResult(const Result &r) = 0;
virtual void OnError(const Result &r) = 0;