From 69a82d61743e503553ea1982f7c09a954fefb5ae Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 29 Oct 2008 11:29:57 +0000 Subject: [PATCH] fix the is "inaccessible" issue with g++-4.0.1 - more fixes ;) --- vcg/math/matrix33.h | 4 ++-- vcg/math/matrix44.h | 4 ++-- vcg/space/point.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vcg/math/matrix33.h b/vcg/math/matrix33.h index 0912d94b..62ae5326 100644 --- a/vcg/math/matrix33.h +++ b/vcg/math/matrix33.h @@ -55,12 +55,12 @@ class Matrix33 : public Eigen::Matrix<_Scalar,3,3,Eigen::RowMajor> // FIXME col { typedef Eigen::Matrix<_Scalar,3,3,Eigen::RowMajor> _Base; +public: + using _Base::coeff; using _Base::coeffRef; using _Base::setZero; -public: - _EIGEN_GENERIC_PUBLIC_INTERFACE(Matrix33,_Base); typedef _Scalar ScalarType; diff --git a/vcg/math/matrix44.h b/vcg/math/matrix44.h index 5fc6f397..e186aa48 100644 --- a/vcg/math/matrix44.h +++ b/vcg/math/matrix44.h @@ -91,14 +91,14 @@ class Matrix44 : public Eigen::Matrix<_Scalar,4,4,Eigen::RowMajor> // FIXME col { typedef Eigen::Matrix<_Scalar,4,4,Eigen::RowMajor> _Base; +public: + using _Base::coeff; using _Base::coeffRef; using _Base::ElementAt; using _Base::setZero; using _Base::operator*; -public: - _EIGEN_GENERIC_PUBLIC_INTERFACE(Matrix44,_Base); typedef _Scalar ScalarType; diff --git a/vcg/space/point.h b/vcg/space/point.h index 0d63595e..fc177a50 100644 --- a/vcg/space/point.h +++ b/vcg/space/point.h @@ -66,14 +66,14 @@ public: //---------------------------------------- private: typedef Eigen::Matrix _Base; +public: + using _Base::coeff; using _Base::coeffRef; using _Base::setZero; using _Base::data; using _Base::V; -public: - _EIGEN_GENERIC_PUBLIC_INTERFACE(Point,_Base); VCG_EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Point)