mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
15 lines
192 B
C++
15 lines
192 B
C++
#pragma once
|
|
|
|
namespace c11log {
|
|
namespace details {
|
|
struct null_mutex {
|
|
void lock() {
|
|
}
|
|
void unlock() {
|
|
}
|
|
bool try_lock() {
|
|
return true;
|
|
}
|
|
};
|
|
}
|
|
} |