diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-10-26 05:56:13 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2014-10-26 19:18:05 +0100 |
commit | d72708c1f58225f50c5ddecbd6f51580a2d9690b (patch) | |
tree | 10348ea70bd20a867daeff8433c004c38262e120 /src/core/hle/kernel/thread.cpp | |
parent | Fix compile errors in Clang (diff) | |
download | yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.gz yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.bz2 yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.lz yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.xz yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.tar.zst yuzu-d72708c1f58225f50c5ddecbd6f51580a2d9690b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 33c0b2a47..e15590c49 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -21,11 +21,11 @@ namespace Kernel { class Thread : public Kernel::Object { public: - std::string GetName() const { return name; } - std::string GetTypeName() const { return "Thread"; } + std::string GetName() const override { return name; } + std::string GetTypeName() const override { return "Thread"; } static Kernel::HandleType GetStaticHandleType() { return Kernel::HandleType::Thread; } - Kernel::HandleType GetHandleType() const { return Kernel::HandleType::Thread; } + Kernel::HandleType GetHandleType() const override { return Kernel::HandleType::Thread; } inline bool IsRunning() const { return (status & THREADSTATUS_RUNNING) != 0; } inline bool IsStopped() const { return (status & THREADSTATUS_DORMANT) != 0; } @@ -38,7 +38,7 @@ public: * @param wait Boolean wait set if current thread should wait as a result of sync operation * @return Result of operation, 0 on success, otherwise error code */ - Result WaitSynchronization(bool* wait) { + Result WaitSynchronization(bool* wait) override { if (status != THREADSTATUS_DORMANT) { Handle thread = GetCurrentThreadHandle(); if (std::find(waiting_threads.begin(), waiting_threads.end(), thread) == waiting_threads.end()) { |