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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user