fix -Winconsistent-missing-override

This commit is contained in:
wmayer
2019-10-20 13:23:41 +02:00
parent aa011746e5
commit f94bf69a3c
5 changed files with 10 additions and 10 deletions

View File

@@ -514,13 +514,13 @@ namespace Base {
static const unsigned int BufferSize = 4024;
// exported functions goes here +++++++++++++++++++++++++++++++++++++++
/// Prints a Message
virtual void Message ( const char * pMsg, ... ) ;
virtual void Message ( const char * pMsg, ... );
/// Prints a warning Message
virtual void Warning ( const char * pMsg, ... ) ;
virtual void Warning ( const char * pMsg, ... );
/// Prints a error Message
virtual void Error ( const char * pMsg, ... ) ;
virtual void Error ( const char * pMsg, ... );
/// Prints a log Message
virtual void Log ( const char * pMsg, ... ) ;
virtual void Log ( const char * pMsg, ... );
// observer processing
void NotifyMessage(const char *sMsg);
@@ -676,7 +676,7 @@ public:
~ConsoleObserverFile() override;
void SendLog(const std::string& message, LogStyle level) override;
const char* Name(void){return "File";}
const char* Name(void) override {return "File";}
protected:
Base::ofstream cFileStream;
@@ -691,7 +691,7 @@ public:
ConsoleObserverStd();
~ConsoleObserverStd() override;
void SendLog(const std::string& message, LogStyle level) override;
const char* Name(void){return "Console";}
const char* Name(void) override {return "Console";}
protected:
bool useColorStderr;
private:

View File

@@ -48,7 +48,7 @@ public:
/// Destructor
virtual ~GUIConsole(void);
void SendLog(const std::string& msg, Base::LogStyle level) override;
const char* Name(void){return "GUIConsole";}
const char* Name(void) override {return "GUIConsole";}
protected:
static const unsigned int s_nMaxLines;

View File

@@ -345,7 +345,7 @@ public:
void SendLog(const std::string& msg, Base::LogStyle level) override;
/// name of the observer
const char *Name(void){return "StatusBar";}
const char *Name(void) override {return "StatusBar";}
friend class MainWindow;
private:

View File

@@ -138,7 +138,7 @@ public:
void SendLog(const std::string& msg, Base::LogStyle level) override;
/// returns the name for observer handling
const char* Name(void){return "ReportOutput";}
const char* Name(void) override {return "ReportOutput";}
/** Restore the default font settings. */
void restoreFont ();

View File

@@ -106,7 +106,7 @@ public:
{
Base::Console().DetachObserver(this);
}
const char* Name()
const char* Name() override
{
return "SplashObserver";
}