diff options
Diffstat (limited to 'src/sync.cpp')
-rw-r--r-- | src/sync.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/sync.cpp b/src/sync.cpp index ef46bbb22f..eace86d9dd 100644 --- a/src/sync.cpp +++ b/src/sync.cpp @@ -24,15 +24,10 @@ #include <utility> #include <vector> -#ifdef DEBUG_LOCKCONTENTION -#if !defined(HAVE_THREAD_LOCAL) -static_assert(false, "thread_local is not supported"); -#endif void LockContention(const char* pszName, const char* pszFile, int nLine) { LOG_TIME_MICROS_WITH_CATEGORY(strprintf("%s, %s:%d", pszName, pszFile, nLine), BCLog::LOCK); } -#endif /* DEBUG_LOCKCONTENTION */ #ifdef DEBUG_LOCKORDER // |