diff options
author | 2009-08-15 10:20:01 +0200 | |
---|---|---|
committer | 2009-08-15 10:20:01 +0200 | |
commit | 109a4f650bb69f1565f9562b384d711e36c56b26 (patch) | |
tree | be03a3edd807deb6359f863be6f29b2af6c07fa9 /Eigen/src/Core/MapBase.h | |
parent | d2becb9612c1cd2c8c45e1177b04d5543be8fb9d (diff) |
fix a couple of warnings
Diffstat (limited to 'Eigen/src/Core/MapBase.h')
-rw-r--r-- | Eigen/src/Core/MapBase.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/MapBase.h b/Eigen/src/Core/MapBase.h index 0151cc67f..51e041db6 100644 --- a/Eigen/src/Core/MapBase.h +++ b/Eigen/src/Core/MapBase.h @@ -66,11 +66,11 @@ template<typename Derived> class MapBase inline const Scalar* data() const { return m_data; } template<bool IsForceAligned,typename Dummy> struct force_aligned_impl { - AlignedDerivedType static run(MapBase& a) { return a.derived(); } + static AlignedDerivedType run(MapBase& a) { return a.derived(); } }; template<typename Dummy> struct force_aligned_impl<false,Dummy> { - AlignedDerivedType static run(MapBase& a) { return a.derived()._convertToForceAligned(); } + static AlignedDerivedType run(MapBase& a) { return a.derived()._convertToForceAligned(); } }; /** \returns an expression equivalent to \c *this but having the \c PacketAccess constant |