Use magic statics instead of ATOMIC_STATIC. (#109)

This commit is contained in:
Peter Johnson
2017-11-17 09:29:20 -08:00
committed by GitHub
parent 20c8d29ae9
commit 3324bcc5ce
10 changed files with 6 additions and 42 deletions

View File

@@ -14,8 +14,6 @@
using namespace cs;
ATOMIC_STATIC_INIT(Logger)
static void def_log_func(unsigned int level, const char* file,
unsigned int line, const char* msg) {
llvm::SmallString<128> buf;