fix -Winconsistent-missing-override
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 ();
|
||||
|
||||
@@ -106,7 +106,7 @@ public:
|
||||
{
|
||||
Base::Console().DetachObserver(this);
|
||||
}
|
||||
const char* Name()
|
||||
const char* Name() override
|
||||
{
|
||||
return "SplashObserver";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user