]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make sure we override the correct signatures
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Fri, 30 Apr 2021 14:37:01 +0000 (16:37 +0200)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Fri, 30 Apr 2021 14:37:01 +0000 (16:37 +0200)
pdns/recursordist/logging.hh

index 73b1d71ade8376f82be9f7b322a8ff874f304048..4cc833c43a08ace793bddf53e4a8523cdc8f90d1 100644 (file)
@@ -69,14 +69,14 @@ namespace Logging {
   class Logger: public Logr::Logger, public std::enable_shared_from_this<Logger>
   {
   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<Logr::Logger> 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<Logr::Logger> v(size_t level) override;
 
-    std::shared_ptr<Logr::Logger> withValues(const std::string& key, const Logr::Loggable& value);
-    virtual std::shared_ptr<Logr::Logger> withName(const std::string& name);
+    std::shared_ptr<Logr::Logger> withValues(const std::string& key, const Logr::Loggable& value) override;
+    virtual std::shared_ptr<Logr::Logger> withName(const std::string& name) override;
 
     static std::shared_ptr<Logger> create(EntryLogger callback);
     static std::shared_ptr<Logger> create(EntryLogger callback, const std::string& name);