From dc524ac7166a603de0dac9e0cfd5aa055dd117ef Mon Sep 17 00:00:00 2001 From: Benoit Steiner Date: Thu, 6 Jul 2017 21:11:15 -0700 Subject: [PATCH] Fixed compilation warning --- .../Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h b/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h index 9dcc9dab7..1264a0270 100644 --- a/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h +++ b/unsupported/Eigen/CXX11/src/ThreadPool/NonBlockingThreadPool.h @@ -24,9 +24,9 @@ class NonBlockingThreadPoolTempl : public Eigen::ThreadPoolInterface { NonBlockingThreadPoolTempl(int num_threads, bool allow_spinning, Environment env = Environment()) - : num_threads_(num_threads), + : env_(env), + num_threads_(num_threads), allow_spinning_(allow_spinning), - env_(env), threads_(num_threads), queues_(num_threads), coprimes_(num_threads),