Logs are committed asynchronously, and since ccapi log filenames are passed by value, we must store them somewhere
5 lines
171 B
C++
5 lines
171 B
C++
#pragma once
|
|
|
|
#define LOCK_GUARD(lockable) \
|
|
std::lock_guard<decltype(lockable)> __lock_guard_##lockable { lockable }
|