diff --git a/unsupported/Eigen/CXX11/ThreadPool b/unsupported/Eigen/CXX11/ThreadPool index 85028603c..6f360ae2f 100644 --- a/unsupported/Eigen/CXX11/ThreadPool +++ b/unsupported/Eigen/CXX11/ThreadPool @@ -10,7 +10,6 @@ #ifndef EIGEN_CXX11_THREADPOOL_MODULE #define EIGEN_CXX11_THREADPOOL_MODULE -//#include #include "Core" #include @@ -28,17 +27,9 @@ * \endcode */ -//#include - -//#include "src/Core/util/EmulateArray.h" -//#include "src/Core/util/MaxSizeVector.h" -//#include "third_party/eigen3/Eigen/src/Core/util/Macros.h" - - -// Emulate the cxx11 functionality that we need if the compiler doesn't support it. -// Visual studio 2015 doesn't advertise itself as cxx11 compliant, although it -// supports enough of the standard for our needs +// The code depends on CXX11, so only include the module if the +// compiler supports it. #if __cplusplus > 199711L || EIGEN_COMP_MSVC >= 1900 #include #include