aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-04-14 16:41:31 -0700
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2016-04-14 16:41:31 -0700
commit9c064b5a97f9504b573991963f3ed1fbbcf33eac (patch)
tree7b39aec7de061885c87dcedfd5a5bcd595a3e30a
parent1372156c41a103757b68ed572b92654ed01f62e3 (diff)
Cleanup
-rw-r--r--unsupported/Eigen/CXX11/ThreadPool13
1 files changed, 2 insertions, 11 deletions
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 <Eigen/Core>
#include "Core"
#include <Eigen/src/Core/util/DisableStupidWarnings.h>
@@ -28,17 +27,9 @@
* \endcode
*/
-//#include <vector>
-
-//#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 <cstddef>
#include <cstring>