From 43138607d83544d5b13a3791dc6b26e1b595f03b Mon Sep 17 00:00:00 2001
From: Franck Dary <franck.dary@lis-lab.fr>
Date: Sat, 2 Nov 2019 20:13:13 +0100
Subject: [PATCH] Added missing override indicator

---
 neural_network/include/GeneticAlgorithm.hpp | 2 +-
 neural_network/include/MLP.hpp              | 2 +-
 neural_network/include/MultiMLP.hpp         | 2 +-
 neural_network/include/ReversedMLP.hpp      | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/neural_network/include/GeneticAlgorithm.hpp b/neural_network/include/GeneticAlgorithm.hpp
index 6d67214..22f0d99 100644
--- a/neural_network/include/GeneticAlgorithm.hpp
+++ b/neural_network/include/GeneticAlgorithm.hpp
@@ -145,7 +145,7 @@ class GeneticAlgorithm : public NeuralNetwork
   ///
   /// @param output Where the topology will be printed.
   void printTopology(FILE * output) override;
-  void endOfIteration();
+  void endOfIteration() override;
 };
 
 #endif
diff --git a/neural_network/include/MLP.hpp b/neural_network/include/MLP.hpp
index 928202e..fea1bc3 100644
--- a/neural_network/include/MLP.hpp
+++ b/neural_network/include/MLP.hpp
@@ -94,7 +94,7 @@ class MLP : public NeuralNetwork
   ///
   /// @return A pointer to the newly allocated trainer.
   dynet::Trainer * createTrainer();
-  void endOfIteration();
+  void endOfIteration() override;
 };
 
 #endif
diff --git a/neural_network/include/MultiMLP.hpp b/neural_network/include/MultiMLP.hpp
index 5ab8461..8c06d78 100644
--- a/neural_network/include/MultiMLP.hpp
+++ b/neural_network/include/MultiMLP.hpp
@@ -94,7 +94,7 @@ class MultiMLP : public NeuralNetwork
   ///
   /// @return A pointer to the newly allocated trainer.
   dynet::Trainer * createTrainer();
-  void endOfIteration();
+  void endOfIteration() override;
 };
 
 #endif
diff --git a/neural_network/include/ReversedMLP.hpp b/neural_network/include/ReversedMLP.hpp
index 7d50616..ff43cdb 100644
--- a/neural_network/include/ReversedMLP.hpp
+++ b/neural_network/include/ReversedMLP.hpp
@@ -96,7 +96,7 @@ class ReversedMLP : public NeuralNetwork
   ///
   /// @return A pointer to the newly allocated trainer.
   dynet::Trainer * createTrainer();
-  void endOfIteration();
+  void endOfIteration() override;
 };
 
 #endif
-- 
GitLab