From 6e02477fc623ffb9ea25a91106d3bceed674423b Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Tue, 2 Sep 2014 02:35:10 +0400 Subject: [PATCH] Some warnings fixed --- Utilities/Thread.h | 7 ------- rpcs3/Emu/SysCalls/SC_FUNC.h | 1 + 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Utilities/Thread.h b/Utilities/Thread.h index 987a9ea3d2..1daeeb5f59 100644 --- a/Utilities/Thread.h +++ b/Utilities/Thread.h @@ -2,13 +2,6 @@ static std::thread::id main_thread; -struct rThread -{ - static bool IsMain() { std::this_thread::get_id() == main_thread; } -}; - -class ThreadExec; - class NamedThreadBase { std::string m_name; diff --git a/rpcs3/Emu/SysCalls/SC_FUNC.h b/rpcs3/Emu/SysCalls/SC_FUNC.h index f831aa5a64..5b6b596234 100644 --- a/rpcs3/Emu/SysCalls/SC_FUNC.h +++ b/rpcs3/Emu/SysCalls/SC_FUNC.h @@ -5,6 +5,7 @@ class func_caller { public: virtual void operator()() = 0; + virtual ~func_caller(){}; }; namespace detail