From f8976fdbe0f87f6b2e3e09191ed0f268cc38d8e3 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 2 Sep 2015 21:39:49 +0200 Subject: [PATCH] Make evaluators non-copyable. This guarantee that evaluators storing temporaries do not introduce unwanted copy overhead. --- Eigen/src/Core/CoreEvaluators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 // ---------- base class for all evaluators ---------- template -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.