diff --git a/Eigen/src/Geometry/Quaternion.h b/Eigen/src/Geometry/Quaternion.h index 803001272..6ee0e4f75 100644 --- a/Eigen/src/Geometry/Quaternion.h +++ b/Eigen/src/Geometry/Quaternion.h @@ -34,8 +34,9 @@ struct quaternionbase_assign_impl; template class QuaternionBase : public RotationBase { + public: typedef RotationBase Base; -public: + using Base::operator*; using Base::derived; @@ -223,10 +224,10 @@ struct traits > template class Quaternion : public QuaternionBase > { +public: typedef QuaternionBase > Base; enum { IsAligned = internal::traits::IsAligned }; -public: typedef _Scalar Scalar; EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Quaternion) @@ -334,9 +335,9 @@ template class Map, _Options > : public QuaternionBase, _Options> > { + public: typedef QuaternionBase, _Options> > Base; - public: typedef _Scalar Scalar; typedef typename internal::traits::Coefficients Coefficients; EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Map) @@ -371,9 +372,9 @@ template class Map, _Options > : public QuaternionBase, _Options> > { + public: typedef QuaternionBase, _Options> > Base; - public: typedef _Scalar Scalar; typedef typename internal::traits::Coefficients Coefficients; EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Map)