]> rtime.felk.cvut.cz Git - hubacji1/iamcar2.git/commitdiff
Mark overriding methods
authorJiri Vlasak <hubacji1@fel.cvut.cz>
Thu, 16 Mar 2023 13:49:53 +0000 (14:49 +0100)
committerJiri Vlasak <hubacji1@fel.cvut.cz>
Thu, 16 Mar 2023 13:49:53 +0000 (14:49 +0100)
rrts/incl/rrtext.hh
rrts/src/rrtext13.cc

index 2fa6958b264639735958569ae2cc82c18764c949..7de62a6197c85667a2778d30c7be65835454f5ab 100644 (file)
@@ -146,11 +146,11 @@ private:
        void interesting_backward();
        void dijkstra_forward();
        void dijkstra_backward();
-       void compute_path();
+       void compute_path(void) override;
 public:
        RRTExt13();
-       Json::Value json() const;
-       void reset();
+       Json::Value json(void) const override;
+       void reset(void) override;
 };
 
 /*! \brief Reeds & Shepp (build) and Euclidean + abs angle (search).
index 758f4d994b42b12941ec11e8ad779654c0387302..7e1006c5122773969690f64e5d32321c60f611e9 100644 (file)
@@ -209,7 +209,7 @@ RRTExt13::dijkstra_backward()
 }
 
 void
-RRTExt13::compute_path()
+RRTExt13::compute_path(void)
 {
        RRTS::compute_path();
        if (this->_goal.cc() == 0.0 || this->_path.size() == 0) {
@@ -255,7 +255,7 @@ RRTExt13::RRTExt13()
 }
 
 Json::Value
-RRTExt13::json() const
+RRTExt13::json(void) const
 {
        auto jvo = RRTS::json();
        unsigned int i = 0;
@@ -272,7 +272,7 @@ RRTExt13::json() const
 }
 
 void
-RRTExt13::reset()
+RRTExt13::reset(void)
 {
        RRTS::reset();
        this->opath_.clear();