diff options
author | Hauke Heibel <hauke.heibel@gmail.com> | 2013-02-28 08:47:38 +0100 |
---|---|---|
committer | Hauke Heibel <hauke.heibel@gmail.com> | 2013-02-28 08:47:38 +0100 |
commit | 5e8384df2edaf30d106503d4889bc70b62c20fd1 (patch) | |
tree | 7d31d014c52347d949c2d03151107d663b567ae9 /Eigen/src/Core/Ref.h | |
parent | 6dd93fc76e123fcac287fa937cf28ca474e731ba (diff) |
MSVC fix; the base class typedef shadowed the local template parameter.
Diffstat (limited to 'Eigen/src/Core/Ref.h')
-rw-r--r-- | Eigen/src/Core/Ref.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/Ref.h b/Eigen/src/Core/Ref.h index 09b7e2b70..aba795bdb 100644 --- a/Eigen/src/Core/Ref.h +++ b/Eigen/src/Core/Ref.h @@ -213,8 +213,8 @@ template<typename PlainObjectType, int Options, typename StrideType> class Ref }; // this is the const ref version -template<typename PlainObjectType, int Options, typename StrideType> class Ref<const PlainObjectType, Options, StrideType> - : public RefBase<Ref<const PlainObjectType, Options, StrideType> > +template<typename TPlainObjectType, int Options, typename StrideType> class Ref<const TPlainObjectType, Options, StrideType> + : public RefBase<Ref<const TPlainObjectType, Options, StrideType> > { typedef internal::traits<Ref> Traits; public: @@ -247,7 +247,7 @@ template<typename PlainObjectType, int Options, typename StrideType> class Ref<c } protected: - PlainObjectType m_object; + TPlainObjectType m_object; }; } // end namespace Eigen |