From f967f18e723b68da6d5f84c4f90844ddb73ecb94 Mon Sep 17 00:00:00 2001 From: Trunov Vladimir Date: Mon, 25 Nov 2024 16:52:18 +0300 Subject: [PATCH] fix build issue --- include/thread_pool/thread_safe_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/thread_pool/thread_safe_queue.h b/include/thread_pool/thread_safe_queue.h index 43e2df7..ac75397 100644 --- a/include/thread_pool/thread_safe_queue.h +++ b/include/thread_pool/thread_safe_queue.h @@ -98,7 +98,7 @@ namespace dp { std::optional front = data_.front(); data_.pop_front(); - data_.push_back(front); + data_.push_back(*front); return front; }