From 4c8fd99e27c9a710a74800596d29b7a3694e52ba Mon Sep 17 00:00:00 2001 From: gabime Date: Sat, 22 Feb 2014 10:07:21 +0200 Subject: [PATCH] small fix --- include/c11log/details/blocking_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/c11log/details/blocking_queue.h b/include/c11log/details/blocking_queue.h index d38512d8..07d40080 100644 --- a/include/c11log/details/blocking_queue.h +++ b/include/c11log/details/blocking_queue.h @@ -103,7 +103,7 @@ private: std::mutex mutex_; std::condition_variable item_pushed_cond_; std::condition_variable item_popped_cond_; - const std::chrono::hours one_hour (1); + static constexpr auto one_hour = std::chrono::hours(1); }; }