diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-11-23 15:22:05 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-11-23 15:22:05 +0100 |
commit | 6382989ba08727898587f34f505a03a9035511a2 (patch) | |
tree | 42cc9f37175e636ba55193d4a04f385a0f46987a /src/OSSupport/IsThread.cpp | |
parent | Update GCC on Travis (diff) | |
download | cuberite-6382989ba08727898587f34f505a03a9035511a2.tar cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.gz cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.bz2 cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.lz cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.xz cuberite-6382989ba08727898587f34f505a03a9035511a2.tar.zst cuberite-6382989ba08727898587f34f505a03a9035511a2.zip |
Diffstat (limited to 'src/OSSupport/IsThread.cpp')
-rw-r--r-- | src/OSSupport/IsThread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OSSupport/IsThread.cpp b/src/OSSupport/IsThread.cpp index 02d8a77c7..8914cac90 100644 --- a/src/OSSupport/IsThread.cpp +++ b/src/OSSupport/IsThread.cpp @@ -85,7 +85,7 @@ bool cIsThread::Start(void) } catch (std::system_error & a_Exception) { - LOGERROR("cIsThread::Wait (std::thread) error %i: could not construct thread %s; %s", m_ThreadName.c_str(), a_Exception.code().value(), a_Exception.what()); + LOGERROR("cIsThread::Wait (std::thread) error %i: could not construct thread %s; %s", a_Exception.code().value(), m_ThreadName.c_str(), a_Exception.what()); return false; } } @@ -119,7 +119,7 @@ bool cIsThread::Wait(void) } catch (std::system_error & a_Exception) { - LOGERROR("cIsThread::Wait (std::thread) error %i: could not join thread %s; %s", m_ThreadName.c_str(), a_Exception.code().value(), a_Exception.what()); + LOGERROR("cIsThread::Wait (std::thread) error %i: could not join thread %s; %s", a_Exception.code().value(), m_ThreadName.c_str(), a_Exception.what()); return false; } } |