diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-22 22:27:13 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2015-06-22 22:27:13 +0200 |
commit | 33fc1474d90ea68df862e5a5c15980a11961bf16 (patch) | |
tree | 0db0968d8078cc0fc1fbd164f080f9e0d32f553e /src/OSSupport/IsThread.cpp | |
parent | Reinstate "Chunk queue collapsing" (diff) | |
download | cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.tar cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.tar.gz cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.tar.bz2 cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.tar.lz cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.tar.xz cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.tar.zst cuberite-33fc1474d90ea68df862e5a5c15980a11961bf16.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 55e96b622..e295d5f25 100644 --- a/src/OSSupport/IsThread.cpp +++ b/src/OSSupport/IsThread.cpp @@ -134,9 +134,9 @@ bool cIsThread::Wait(void) m_Thread.join(); return true; } - catch (std::system_error & a_Exception) + catch (const std::system_error & a_Exception) { - LOGERROR("cIsThread::Wait error %i: could not join thread %s; %s", a_Exception.code().value(), m_ThreadName.c_str(), a_Exception.code().message().c_str()); + LOGERROR("%s error %i: could not join thread %s; %s", __FUNCTION__, a_Exception.code().value(), m_ThreadName.c_str(), a_Exception.code().message().c_str()); return false; } } |