aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2015-09-02 21:39:49 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2015-09-02 21:39:49 +0200
commitf8976fdbe0f87f6b2e3e09191ed0f268cc38d8e3 (patch)
tree303ac34cfd6bd4e346187fae8b8be0d6d40c67c7 /Eigen/src
parent92b9f0e102b35c3091bdeea3fc65f38f0e93c612 (diff)
Make evaluators non-copyable. This guarantee that evaluators storing temporaries do not introduce unwanted copy overhead.
Diffstat (limited to 'Eigen/src')
-rw-r--r--Eigen/src/Core/CoreEvaluators.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/CoreEvaluators.h b/Eigen/src/Core/CoreEvaluators.h
index 1541f940e..9b6a442e5 100644
--- a/Eigen/src/Core/CoreEvaluators.h
+++ b/Eigen/src/Core/CoreEvaluators.h
@@ -96,7 +96,7 @@ struct evaluator<const T>
// ---------- base class for all evaluators ----------
template<typename ExpressionType>
-struct evaluator_base
+struct evaluator_base : public noncopyable
{
// TODO Check whether nestedType is really needed:
// As long as evaluator are non-copyable, there is no reason to make it different.