spdlog/include/spitlog/details/null_mutex.h
gabi cbddc8796a 1. renamed lib to to spitlog
2. Rotating bugfix
2014-10-30 00:11:06 +02:00

18 lines
198 B
C++

#pragma once
// null, no cost mutex
namespace spitlog {
namespace details {
struct null_mutex
{
void lock() {}
void unlock() {}
bool try_lock()
{
return true;
}
};
}
}