mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -23,10 +23,10 @@ private:
|
||||
DISALLOW_COPY_AND_MOVE(ThreadChecker);
|
||||
};
|
||||
|
||||
#define DECLARE_THREAD_CHECKER(threadCheckerName) ThreadChecker threadCheckerName
|
||||
#define DECLARE_THREAD_CHECKER(threadCheckerName) ThreadChecker threadCheckerName
|
||||
#define CHECK_THREAD_CHECKER(threadCheckerName, msg) CHECK(threadCheckerName.CalledOnOriginalThread(), msg)
|
||||
#define DECLARE_AND_CHECK_THREAD_CHECKER(msg) \
|
||||
{ \
|
||||
static const ThreadChecker threadChecker; \
|
||||
CHECK(threadChecker.CalledOnOriginalThread(), (msg)); \
|
||||
}
|
||||
#define DECLARE_AND_CHECK_THREAD_CHECKER(msg) \
|
||||
{ \
|
||||
static const ThreadChecker threadChecker; \
|
||||
CHECK(threadChecker.CalledOnOriginalThread(), (msg)); \
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user