From 5250c4395c1a3546f811f7322f90f9dc954f3fdd Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Tue, 18 May 2010 08:19:23 -0400 Subject: compilation fix: const T ---> typename ei_makeconst::type (error was appearing when building tests with alignmnet disabled) What is this stuff still doing in MatrixBase.h? Shouldn't it move to DenseBase.h? How are Array blocks compiling? --- Eigen/src/Core/ForceAlignedAccess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/ForceAlignedAccess.h') diff --git a/Eigen/src/Core/ForceAlignedAccess.h b/Eigen/src/Core/ForceAlignedAccess.h index bd70a11a9..eedd57751 100644 --- a/Eigen/src/Core/ForceAlignedAccess.h +++ b/Eigen/src/Core/ForceAlignedAccess.h @@ -133,7 +133,7 @@ MatrixBase::forceAlignedAccess() */ template template -inline const typename ei_meta_if,Derived&>::ret +inline typename ei_makeconst,Derived&>::ret>::type MatrixBase::forceAlignedAccessIf() const { return derived(); -- cgit v1.2.3