Commit 7f043452 authored by gabime's avatar gabime

astyle

parent 6cda714e
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
namespace spdlog namespace spdlog
{ {
namespace sinks { namespace sinks
{
class async_sink; class async_sink;
} }
......
...@@ -73,7 +73,8 @@ public: ...@@ -73,7 +73,8 @@ public:
std::unique_lock<std::mutex> ul(_mutex); std::unique_lock<std::mutex> ul(_mutex);
if (is_full()) if (is_full())
{ {
if (!_item_popped_cond.wait_until(ul, clock::now() + timeout, [this]() { if (!_item_popped_cond.wait_until(ul, clock::now() + timeout, [this]()
{
return !this->is_full(); return !this->is_full();
})) }))
return false; return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment