diff --git a/src/threaded_queue.h b/src/threaded_queue.h index a16568e5..ccafc443 100644 --- a/src/threaded_queue.h +++ b/src/threaded_queue.h @@ -36,8 +36,7 @@ private: } template void unlock_impl(std::index_sequence) { - (void)std::initializer_list{ - (std::get(tuple_)->mutex_.unlock(), 0)...}; + (std::get(tuple_)->mutex_.unlock(), ...); } std::tuple tuple_;