From c78ecdf579c0bf0a75ed0f9641ffef8d89c17ec8 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 25 Jan 2019 02:52:11 +0000 Subject: Replace the override macro with the override keyword. --- src/modules/m_xline_db.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/modules/m_xline_db.cpp') diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp index 90f9de9d2..9d9c9e431 100644 --- a/src/modules/m_xline_db.cpp +++ b/src/modules/m_xline_db.cpp @@ -27,7 +27,7 @@ class ModuleXLineDB : public Module bool dirty; std::string xlinedbpath; public: - void init() CXX11_OVERRIDE + void init() override { /* Load the configuration * Note: @@ -49,7 +49,7 @@ class ModuleXLineDB : public Module * @param source The sender of the line or NULL for local server * @param line The xline being added */ - void OnAddLine(User* source, XLine* line) CXX11_OVERRIDE + void OnAddLine(User* source, XLine* line) override { dirty = true; } @@ -59,12 +59,12 @@ class ModuleXLineDB : public Module * @param source The user removing the line or NULL for local server * @param line the line being deleted */ - void OnDelLine(User* source, XLine* line) CXX11_OVERRIDE + void OnDelLine(User* source, XLine* line) override { dirty = true; } - void OnBackgroundTimer(time_t now) CXX11_OVERRIDE + void OnBackgroundTimer(time_t now) override { if (dirty) { @@ -210,7 +210,7 @@ class ModuleXLineDB : public Module return true; } - Version GetVersion() CXX11_OVERRIDE + Version GetVersion() override { return Version("Keeps a dynamic log of all XLines created, and stores them in a separate conf file (xline.db).", VF_VENDOR); } -- cgit v1.3.1-10-gc9f91