]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[(no branch, rebasing 1899-warnings-during-compilation)] [#1899] Added missing overri...
authorFrancis Dupont <fdupont@isc.org>
Tue, 1 Jun 2021 08:53:51 +0000 (10:53 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 2 Jun 2021 16:47:24 +0000 (18:47 +0200)
src/bin/agent/ca_cfg_mgr.h
src/bin/d2/d2_cfg_mgr.h
src/bin/dhcp4/dhcp4_srv.h
src/bin/dhcp6/dhcp6_srv.h

index 943a8b4269949090caf9e01a04c7308d7a9063cc..6234bd44f66f415609ef78326ee47f2f59e4943a 100644 (file)
@@ -273,7 +273,7 @@ public:
     /// to be returned. This parameter is ignored for the Control Agent.
     ///
     /// @return Summary of the configuration in the textual format.
-    virtual std::string getConfigSummary(const uint32_t selection);
+    virtual std::string getConfigSummary(const uint32_t selection) override;
 
 protected:
 
@@ -284,7 +284,7 @@ protected:
     /// only verify correctness of the provided configuration.
     /// @return Pointer to a result of configuration parsing.
     virtual isc::data::ConstElementPtr
-    parse(isc::data::ConstElementPtr config, bool check_only);
+    parse(isc::data::ConstElementPtr config, bool check_only) override;
 
     /// @brief Creates a new, blank CtrlAgentCfgContext context.
     ///
@@ -296,7 +296,7 @@ protected:
     /// error.
     ///
     /// @return Returns a ConfigPtr to the new context instance.
-    virtual process::ConfigPtr createNewContext();
+    virtual process::ConfigPtr createNewContext() override;
 
     /// @brief Return a list of all paths that contain passwords or secrets.
     ///
index 199d4354867a9b8e47cc874c1d86d090cbdfd98e..11b6a0c5385c25894ddf2abfc6c629622318d859 100644 (file)
@@ -280,7 +280,7 @@ public:
     /// to be returned. This parameter is ignored for the D2.
     ///
     /// @return Summary of the configuration in the textual format.
-    virtual std::string getConfigSummary(const uint32_t selection);
+    virtual std::string getConfigSummary(const uint32_t selection) override;
 
     std::list<std::list<std::string>> jsonPathsToRedact() const final override;
 
@@ -292,7 +292,7 @@ protected:
     /// only verify correctness of the provided configuration.
     /// @return Pointer to a result of configuration parsing.
     virtual isc::data::ConstElementPtr
-    parse(isc::data::ConstElementPtr config, bool check_only);
+    parse(isc::data::ConstElementPtr config, bool check_only) override;
 
     /// @brief Adds default values to the given config
     ///
@@ -300,7 +300,7 @@ protected:
     /// method is invoked by @c DCfgMgrBase::parseConfig().
     ///
     /// @param mutable_config - configuration to which defaults should be added
-    virtual void setCfgDefaults(isc::data::ElementPtr mutable_config);
+    virtual void setCfgDefaults(isc::data::ElementPtr mutable_config) override;
 
     /// @brief Creates an new, blank D2CfgContext context
     ///
@@ -311,14 +311,13 @@ protected:
     /// error.
     ///
     /// @return Returns a ConfigPtr to the new context instance.
-    virtual process::ConfigPtr createNewContext();
+    virtual process::ConfigPtr createNewContext() override;
 };
 
 /// @brief Defines a shared pointer to D2CfgMgr.
 typedef boost::shared_ptr<D2CfgMgr> D2CfgMgrPtr;
 
-
-}; // end of isc::d2 namespace
-}; // end of isc namespace
+} // end of isc::d2 namespace
+} // end of isc namespace
 
 #endif // D2_CFG_MGR_H
index 881a48f87d22f3acfc6296f7233c8b52fa1d51dc..147d12c1212cf39ef5f95ff290d0701fc40ecd65 100644 (file)
@@ -383,7 +383,7 @@ public:
                                           bool allow_packet_park);
 
     /// @brief Instructs the server to shut down.
-    void shutdown();
+    void shutdown() override;
 
     ///
     /// @name Public accessors returning values required to (re)open sockets.
index c5c2bf05f72cc76f0fba7968e8939b8ba456ad10..349a2bb2045d2a1ecdcf392512230963cfa1d1ce 100644 (file)
@@ -200,7 +200,7 @@ public:
     void processDhcp6QueryAndSendResponse(Pkt6Ptr& query, Pkt6Ptr& rsp);
 
     /// @brief Instructs the server to shut down.
-    void shutdown();
+    void shutdown() override;
 
     ///
     /// @name Public accessors returning values required to (re)open sockets.