aboutsummaryrefslogtreecommitdiff
path: root/src/sync.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-03-27 09:05:31 -0400
committerMarcoFalke <falke.marco@gmail.com>2020-03-27 08:59:06 -0400
commitfac96fff624a3ab65209dcd3378efb6e6ab47a58 (patch)
treea9882d892ca27da176029e3f364c54d58c735ff1 /src/sync.cpp
parente3154aacf444a29f9f5642b6c937e875ab9a2c13 (diff)
util: Remove unused itostr
Diffstat (limited to 'src/sync.cpp')
-rw-r--r--src/sync.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sync.cpp b/src/sync.cpp
index 71657a7439..b86c57e498 100644
--- a/src/sync.cpp
+++ b/src/sync.cpp
@@ -13,9 +13,9 @@
#include <util/strencodings.h>
#include <util/threadnames.h>
-#include <system_error>
#include <map>
#include <set>
+#include <system_error>
#ifdef DEBUG_LOCKCONTENTION
#if !defined(HAVE_THREAD_LOCAL)
@@ -57,7 +57,7 @@ struct CLockLocation {
{
return strprintf(
"%s %s:%s%s (in thread %s)",
- mutexName, sourceFile, itostr(sourceLine), (fTry ? " (TRY)" : ""), m_thread_name);
+ mutexName, sourceFile, sourceLine, (fTry ? " (TRY)" : ""), m_thread_name);
}
std::string Name() const