diff --git a/src/Base/Console.h b/src/Base/Console.h index b0910bc584..2ab1ebdf02 100644 --- a/src/Base/Console.h +++ b/src/Base/Console.h @@ -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: diff --git a/src/Gui/GuiConsole.h b/src/Gui/GuiConsole.h index f0c3f524eb..a06c7bc250 100644 --- a/src/Gui/GuiConsole.h +++ b/src/Gui/GuiConsole.h @@ -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; diff --git a/src/Gui/MainWindow.h b/src/Gui/MainWindow.h index 863302a770..79d74d6a16 100644 --- a/src/Gui/MainWindow.h +++ b/src/Gui/MainWindow.h @@ -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: diff --git a/src/Gui/ReportView.h b/src/Gui/ReportView.h index 09319383a6..45928e7019 100644 --- a/src/Gui/ReportView.h +++ b/src/Gui/ReportView.h @@ -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 (); diff --git a/src/Gui/Splashscreen.cpp b/src/Gui/Splashscreen.cpp index 53877a0ba8..dbf0648439 100644 --- a/src/Gui/Splashscreen.cpp +++ b/src/Gui/Splashscreen.cpp @@ -106,7 +106,7 @@ public: { Base::Console().DetachObserver(this); } - const char* Name() + const char* Name() override { return "SplashObserver"; }