spdlog/include/c11log/details/null_mutex.h

17 lines
191 B
C
Raw Normal View History

2014-01-25 17:09:04 +08:00
#pragma once
namespace c11log{
namespace details{
struct null_mutex
{
void lock()
{}
void unlock()
{}
bool try_lock()
{
return true;
}
};
}
}