break circular dependency: random/sync -> util -> random/sync

This commit is contained in:
Chun Kuan Lee committed 2018-05-17 08:13:54 +00:00
1 parent 3b84ebb5bc
commit 84f41946b9
2 files changed
+8 -5

No files matched your search

+5 -3
View File
@@ -4,13 +4,15 @@
#include <sync.h>
#include <memory>
#include <set>
#include <util.h>
#include <logging.h>
#include <utilstrencodings.h>
#include <stdio.h>
#include <map>
#include <memory>
#include <set>
#ifdef DEBUG_LOCKCONTENTION
#if !defined(HAVE_THREAD_LOCAL)
static_assert(false, "thread_local is not supported");