From b2d3c2a15029b5ca641bbe7f57ecac52f313fc1a Mon Sep 17 00:00:00 2001 From: Francisco Paisana Date: Tue, 19 Nov 2019 10:56:00 +0000 Subject: [PATCH] fix compilation issue --- lib/include/srslte/common/multiqueue.h | 4 +++- srsue/hdr/stack/ue_stack_lte.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/include/srslte/common/multiqueue.h b/lib/include/srslte/common/multiqueue.h index 61710a5d9..83cfbe998 100644 --- a/lib/include/srslte/common/multiqueue.h +++ b/lib/include/srslte/common/multiqueue.h @@ -30,6 +30,7 @@ #include #include +#include #include #include #include @@ -257,7 +258,8 @@ moveable_task_t bind_task(Func&& f, Capture&& c) return moveable_task_t{std::forward(f), std::forward(c)}; } -using multiqueue_task_handler = multiqueue_handler >; +template +using multiqueue_task_handler = multiqueue_handler >; } // namespace srslte diff --git a/srsue/hdr/stack/ue_stack_lte.h b/srsue/hdr/stack/ue_stack_lte.h index e09931233..cbbb1566b 100644 --- a/srsue/hdr/stack/ue_stack_lte.h +++ b/srsue/hdr/stack/ue_stack_lte.h @@ -161,7 +161,7 @@ private: // Thread static const int STACK_MAIN_THREAD_PRIO = -1; // Use default high-priority below UHD using task_t = srslte::moveable_task_t; - srslte::multiqueue_task_handler pending_tasks; + srslte::multiqueue_task_handler pending_tasks; int sync_queue_id = -1, ue_queue_id = -1, gw_queue_id = -1, mac_queue_id = -1, background_queue_id = -1; srslte::task_thread_pool background_tasks; ///< Thread pool used for long, low-priority tasks };