diff options
| author | 2014-10-26 02:56:13 -0200 | |
|---|---|---|
| committer | 2014-10-26 16:18:05 -0200 | |
| commit | d72708c1f58225f50c5ddecbd6f51580a2d9690b (patch) | |
| tree | 10348ea70bd20a867daeff8433c004c38262e120 /src/common | |
| parent | Fix compile errors in Clang (diff) | |
| download | yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.gz yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.xz yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.zip | |
Add `override` keyword through the code.
This was automated using `clang-modernize`.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/console_listener.h | 2 | ||||
| -rw-r--r-- | src/common/log_manager.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/common/console_listener.h b/src/common/console_listener.h index 3c0e420c6..ebd90a105 100644 --- a/src/common/console_listener.h +++ b/src/common/console_listener.h | |||
| @@ -26,7 +26,7 @@ public: | |||
| 26 | #ifdef _WIN32 | 26 | #ifdef _WIN32 |
| 27 | COORD GetCoordinates(int BytesRead, int BufferWidth); | 27 | COORD GetCoordinates(int BytesRead, int BufferWidth); |
| 28 | #endif | 28 | #endif |
| 29 | void Log(LogTypes::LOG_LEVELS, const char *Text); | 29 | void Log(LogTypes::LOG_LEVELS, const char *Text) override; |
| 30 | void ClearScreen(bool Cursor = true); | 30 | void ClearScreen(bool Cursor = true); |
| 31 | 31 | ||
| 32 | private: | 32 | private: |
diff --git a/src/common/log_manager.h b/src/common/log_manager.h index ce62d0361..de1d16ee5 100644 --- a/src/common/log_manager.h +++ b/src/common/log_manager.h | |||
| @@ -30,7 +30,7 @@ class FileLogListener : public LogListener | |||
| 30 | public: | 30 | public: |
| 31 | FileLogListener(const char *filename); | 31 | FileLogListener(const char *filename); |
| 32 | 32 | ||
| 33 | void Log(LogTypes::LOG_LEVELS, const char *msg); | 33 | void Log(LogTypes::LOG_LEVELS, const char *msg) override; |
| 34 | 34 | ||
| 35 | bool IsValid() { return !m_logfile.fail(); } | 35 | bool IsValid() { return !m_logfile.fail(); } |
| 36 | bool IsEnabled() const { return m_enable; } | 36 | bool IsEnabled() const { return m_enable; } |
| @@ -47,7 +47,7 @@ private: | |||
| 47 | class DebuggerLogListener : public LogListener | 47 | class DebuggerLogListener : public LogListener |
| 48 | { | 48 | { |
| 49 | public: | 49 | public: |
| 50 | void Log(LogTypes::LOG_LEVELS, const char *msg); | 50 | void Log(LogTypes::LOG_LEVELS, const char *msg) override; |
| 51 | }; | 51 | }; |
| 52 | 52 | ||
| 53 | class LogContainer | 53 | class LogContainer |