From def06be564fbd8635a425099baa976372b071b3c Mon Sep 17 00:00:00 2001 From: David Hall Date: Mon, 20 Feb 2017 11:43:46 -0600 Subject: [PATCH] MCOL-513 Use vector ref for join to prevent vector copy. --- utils/threadpool/threadpool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/threadpool/threadpool.h b/utils/threadpool/threadpool.h index a000f060b..f11bb4b2b 100644 --- a/utils/threadpool/threadpool.h +++ b/utils/threadpool/threadpool.h @@ -145,7 +145,7 @@ public: /** @brief Wait for a specific thread */ - EXPORT void join(std::vector thrHandle); + EXPORT void join(std::vector& thrHandle); /** @brief for use in debugging */