1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 11:23: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
@@ -13,9 +13,9 @@ struct EntryMsg
Anope::string message;
time_t when;
virtual ~EntryMsg() { }
virtual ~EntryMsg() = default;
protected:
EntryMsg() { }
EntryMsg() = default;
};
struct EntryMessageList : Serialize::Checker<std::vector<EntryMsg *> >