From d140cffc08abad816d9e0f9d28a39742fb10e4c3 Mon Sep 17 00:00:00 2001 From: Peter Tissen Date: Wed, 8 Apr 2015 22:43:29 +0200 Subject: [PATCH] remove the publicly accessible version of the template parameter in lwmutex::const_be_u32_t because it's never used and causes linker errors in clang 3.4 (and allegedly gcc 4.8.4) --- rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h b/rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h index 4a26d65909..e39802b8fd 100644 --- a/rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h +++ b/rpcs3/Emu/SysCalls/lv2/sys_lwmutex.h @@ -25,11 +25,9 @@ namespace lwmutex template struct const_be_u32_t { - static const u32 value = _value; - operator const be_t() const { - return be_t::make(value); + return be_t::make(_value); } };