From 128422e75c79a2aff7825d2a425913111fddfdfd Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 2 May 2018 21:23:15 +0200 Subject: [PATCH] Remove virtual specifiers Signed-off-by: Stefan Weil --- src/lstm/lstmtrainer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lstm/lstmtrainer.h b/src/lstm/lstmtrainer.h index d488b6953a..82a8c9b83c 100644 --- a/src/lstm/lstmtrainer.h +++ b/src/lstm/lstmtrainer.h @@ -211,10 +211,10 @@ class LSTMTrainer : public LSTMRecognizer { int CurrentTrainingStage() const { return training_stage_; } // Writes to the given file. Returns false in case of error. - virtual bool Serialize(SerializeAmount serialize_amount, - const TessdataManager* mgr, TFile* fp) const; + bool Serialize(SerializeAmount serialize_amount, + const TessdataManager* mgr, TFile* fp) const; // Reads from the given file. Returns false in case of error. - virtual bool DeSerialize(const TessdataManager* mgr, TFile* fp); + bool DeSerialize(const TessdataManager* mgr, TFile* fp); // De-serializes the saved best_trainer_ into sub_trainer_, and adjusts the // learning rates (by scaling reduction, or layer specific, according to