From 0e0d339989a4b4025f40cb2d6a19963b7a5a75f4 Mon Sep 17 00:00:00 2001 From: Charles-Henri Bruyand Date: Fri, 30 Apr 2021 16:37:01 +0200 Subject: [PATCH] make sure we override the correct signatures --- pdns/recursordist/logging.hh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pdns/recursordist/logging.hh b/pdns/recursordist/logging.hh index 73b1d71ade..4cc833c43a 100644 --- a/pdns/recursordist/logging.hh +++ b/pdns/recursordist/logging.hh @@ -69,14 +69,14 @@ namespace Logging { class Logger: public Logr::Logger, public std::enable_shared_from_this { public: - virtual bool enabled(); - virtual void info(const std::string& msg); - virtual void error(int err, const std::string& msg); - virtual void error(const std::string& err, const std::string& msg); - virtual std::shared_ptr v(size_t level); + bool enabled() override; + void info(const std::string& msg) override; + void error(int err, const std::string& msg) override; + void error(const std::string& err, const std::string& msg) override; + std::shared_ptr v(size_t level) override; - std::shared_ptr withValues(const std::string& key, const Logr::Loggable& value); - virtual std::shared_ptr withName(const std::string& name); + std::shared_ptr withValues(const std::string& key, const Logr::Loggable& value) override; + virtual std::shared_ptr withName(const std::string& name) override; static std::shared_ptr create(EntryLogger callback); static std::shared_ptr create(EntryLogger callback, const std::string& name); -- 2.47.3