@@ -131,11 +131,11 @@ namespace TasofroPl
131131 class StoryText : public AText
132132 {
133133 protected:
134- void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
135- bool parseCommand (json_t *patch, int json_line_num);
136- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
137- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
138- void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
134+ void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
135+ bool parseCommand (json_t *patch, size_t json_line_num) override ;
136+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
137+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
138+ void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
139139
140140 public:
141141 StoryText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -145,9 +145,9 @@ namespace TasofroPl
145145 class Th155StoryText : public StoryText
146146 {
147147 protected:
148- bool parseCommand (json_t *patch, int json_line_num);
149- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
150- void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
148+ bool parseCommand (json_t *patch, size_t json_line_num) override ;
149+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
150+ void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
151151
152152 public:
153153 Th155StoryText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -157,7 +157,7 @@ namespace TasofroPl
157157 class Th155_110StoryText : public Th155StoryText
158158 {
159159 protected:
160- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
160+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
161161
162162 public:
163163 Th155_110StoryText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -170,11 +170,11 @@ namespace TasofroPl
170170 bool is_staffroll;
171171
172172 protected:
173- void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
174- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
175- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
176- void endLine ();
177- void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
173+ void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
174+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
175+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
176+ void endLine () override ;
177+ void _patchExit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
178178
179179 public:
180180 EndingText (const std::vector<std::string>& fields, const std::string& comment = " " );
@@ -184,9 +184,9 @@ namespace TasofroPl
184184 class WinText : public AText
185185 {
186186 protected:
187- void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it);
188- void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
189- void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it);
187+ void _patchInit (std::list<ALine*>& file, std::list<ALine*>::iterator& file_it) override ;
188+ void beginLine (std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
189+ void _patchLine (std::string& text, std::list<ALine*>& file, const std::list<ALine*>::iterator& it) override ;
190190
191191 public:
192192 WinText (const std::vector<std::string>& fields, const std::string& comment = " " );
0 commit comments