From d0f6ea10bce4796a00a35c8852a04e2379150fd1 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Fri, 11 Mar 2022 19:13:04 +0000 Subject: [PATCH] u/worker: Fix some late feedback --- src/xrt/auxiliary/util/u_worker.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xrt/auxiliary/util/u_worker.hpp b/src/xrt/auxiliary/util/u_worker.hpp index c43d13989..66c4d2d4b 100644 --- a/src/xrt/auxiliary/util/u_worker.hpp +++ b/src/xrt/auxiliary/util/u_worker.hpp @@ -34,7 +34,7 @@ private: public: - explicit SharedThreadPool(SharedThreadPool const ©) + SharedThreadPool(SharedThreadPool const ©) { u_worker_thread_pool_reference(&mPool, copy.mPool); } @@ -51,7 +51,7 @@ public: /*! * @copydoc u_worker_thread_pool_create. */ - explicit SharedThreadPool(uint32_t starting_worker_count, uint32_t thread_count) + SharedThreadPool(uint32_t starting_worker_count, uint32_t thread_count) { mPool = u_worker_thread_pool_create(starting_worker_count, thread_count); } @@ -95,7 +95,7 @@ private: public: - explicit SharedThreadGroup(SharedThreadPool const &stp) + SharedThreadGroup(SharedThreadPool const &stp) { mGroup = u_worker_group_create(stp.mPool); } @@ -142,7 +142,7 @@ public: * Give all Functors when constructed, some what partially * avoids use after leaving scope issues of function delegates. */ - TaskCollection(SharedThreadGroup const &stc, std::vector funcs) + TaskCollection(SharedThreadGroup const &stc, std::vector const &funcs) { assert(funcs.size() <= kSize);