From 499d5a942fc2ad0149b0a16e978e090336dd8319 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 7 Nov 2023 10:32:07 +1100 Subject: Add a wrapper codec source that does readahead --- src/tasks/tasks.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/tasks/tasks.cpp') diff --git a/src/tasks/tasks.cpp b/src/tasks/tasks.cpp index ca93336f..8ff57d4a 100644 --- a/src/tasks/tasks.cpp +++ b/src/tasks/tasks.cpp @@ -195,8 +195,7 @@ Worker::~Worker() { } template <> -auto Worker::Dispatch(const std::function& fn) - -> std::future { +auto Worker::Dispatch(const std::function fn) -> std::future { std::shared_ptr> promise = std::make_shared>(); WorkItem item{ -- cgit v1.2.3