From a31a7f5a6ce3f47716a9313d232c2a40955fd1e1 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 3 Jan 2022 18:52:15 +0000 Subject: Use C++11 default initializers and destructors where possible. --- include/modules/bs_badwords.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/modules/bs_badwords.h') diff --git a/include/modules/bs_badwords.h b/include/modules/bs_badwords.h index e2361616e..7bb7f1130 100644 --- a/include/modules/bs_badwords.h +++ b/include/modules/bs_badwords.h @@ -30,14 +30,14 @@ struct BadWord Anope::string word; BadWordType type; - virtual ~BadWord() { } + virtual ~BadWord() = default; protected: - BadWord() { } + BadWord() = default; }; struct BadWords { - virtual ~BadWords() { } + virtual ~BadWords() = default; /** Add a badword to the badword list * @param word The badword -- cgit