diff --git a/Eigen/src/Core/util/ForwardDeclarations.h b/Eigen/src/Core/util/ForwardDeclarations.h index 9379b64f8..9434bfd14 100644 --- a/Eigen/src/Core/util/ForwardDeclarations.h +++ b/Eigen/src/Core/util/ForwardDeclarations.h @@ -54,13 +54,13 @@ template class Minor; // is used as default template parameter value here, it gets mis-evaluated as just ei_traits::Flags // Moreover, adding brackets tends to give compilation errors with MSVC. // Solution: defer that to a helper struct. -template +template struct ei_block_direct_access_status { - enum { ret = ei_traits::Flags&DirectAccessBit ? HasDirectAccess : NoDirectAccess }; + enum { ret = ei_traits::Flags&DirectAccessBit ? HasDirectAccess : NoDirectAccess }; }; -template::ret> class Block; +template::ret> class Block; template class VectorBlock; template class Transpose;