diff options
author | Gael Guennebaud <g.gael@free.fr> | 2008-10-25 22:41:53 +0000 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2008-10-25 22:41:53 +0000 |
commit | 505ce85814f9291b7d242ef57582d7b15e673f26 (patch) | |
tree | 2ea8bdcdbfb0dd59b411ea2743bb4d7c706ad4a2 /Eigen/src/Geometry/ParametrizedLine.h | |
parent | e5b8a59cfa5d9d7f81aad80d91c90b613efb2b67 (diff) |
oops forgot the inline keyword (though for gcc it was implicit)
Diffstat (limited to 'Eigen/src/Geometry/ParametrizedLine.h')
-rw-r--r-- | Eigen/src/Geometry/ParametrizedLine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Geometry/ParametrizedLine.h b/Eigen/src/Geometry/ParametrizedLine.h index 8a1d79252..e7d336e62 100644 --- a/Eigen/src/Geometry/ParametrizedLine.h +++ b/Eigen/src/Geometry/ParametrizedLine.h @@ -107,7 +107,7 @@ public: * then this function smartly returns a const reference to \c *this. */ template<typename NewScalarType> - typename ei_cast_return_type<ParametrizedLine, + inline typename ei_cast_return_type<ParametrizedLine, ParametrizedLine<NewScalarType,AmbientDimAtCompileTime> >::type cast() const { return typename ei_cast_return_type<ParametrizedLine, @@ -116,7 +116,7 @@ public: /** Copy constructor with scalar type conversion */ template<typename OtherScalarType> - explicit ParametrizedLine(const ParametrizedLine<OtherScalarType,AmbientDimAtCompileTime>& other) + inline explicit ParametrizedLine(const ParametrizedLine<OtherScalarType,AmbientDimAtCompileTime>& other) { m_origin = other.origin().template cast<OtherScalarType>(); m_direction = other.direction().template cast<OtherScalarType>(); |