From d7d119d872c0f4e92a56c310bca4d79ba9a6b62b Mon Sep 17 00:00:00 2001
From: David Parsons <david.parsons@inria.fr>
Date: Thu, 6 Apr 2023 17:15:24 +0200
Subject: [PATCH] mark function overrides as such

---
 src/libaevol/7/Discrete_Double_Fuzzy.h | 36 ++++++++++++++------------
 1 file changed, 20 insertions(+), 16 deletions(-)

diff --git a/src/libaevol/7/Discrete_Double_Fuzzy.h b/src/libaevol/7/Discrete_Double_Fuzzy.h
index f898ec791..ced2b9ebc 100644
--- a/src/libaevol/7/Discrete_Double_Fuzzy.h
+++ b/src/libaevol/7/Discrete_Double_Fuzzy.h
@@ -96,27 +96,31 @@ class Discrete_Double_Fuzzy : public AbstractFuzzy_7
   // ==========================================================================
   //                              Public Methods
   // ==========================================================================
-  void save(gzFile backup) const;
-  void load(gzFile backup);
-  void reset();
-  void simplify();
-  void add_triangle(ProteinConcentration mean, ProteinConcentration width, ProteinConcentration height, bool verbose = false);
-  void add(const AbstractFuzzy_7* f, bool verbose = false);
-  void sub(const AbstractFuzzy_7* f, bool verbose = false);
-  void copy(const AbstractFuzzy_7* f, bool verbose = false);
-  void copy(const Fuzzy* f, bool verbose = false);
-  void add_point(ProteinConcentration x, ProteinConcentration y);
+  void save(gzFile backup) const override;
+  void load(gzFile backup) override;
+  void reset() override;
+  void simplify() override;
+  void add_triangle(ProteinConcentration mean,
+                    ProteinConcentration width,
+                    ProteinConcentration height,
+                    bool verbose = false) override;
+  void add(const AbstractFuzzy_7* f, bool verbose = false) override;
+  void sub(const AbstractFuzzy_7* f, bool verbose = false) override;
+  void copy(const AbstractFuzzy_7* f, bool verbose = false) override;
+  void copy(const Fuzzy* f, bool verbose = false) override;
+  void add_point(ProteinConcentration x, ProteinConcentration y) override;
   void add_point(int32_t x, ProteinConcentration y);
 
-  void clip(clipping_direction direction, ProteinConcentration bound);
+  void clip(clipping_direction direction, ProteinConcentration bound) override;
   // ==========================================================================
   //                                 Getters
   // ==========================================================================
-  ProteinConcentration get_geometric_area(bool verbose = false) const;
-  ProteinConcentration get_geometric_area(ProteinConcentration start_segment, ProteinConcentration end_segment) const;
-  bool is_identical_to(const AbstractFuzzy_7& fs, ProteinConcentration tolerance) const;
-  void print() const;
-  void clear();
+  ProteinConcentration get_geometric_area(bool verbose = false) const override;
+  ProteinConcentration get_geometric_area(ProteinConcentration start_segment,
+                                          ProteinConcentration end_segment) const override;
+  bool is_identical_to(const AbstractFuzzy_7& fs, ProteinConcentration tolerance) const override;
+  void print() const override;
+  void clear() override;
   double* points() { return points_; };
   int length() { return length_; };
   // ==========================================================================
-- 
GitLab