oops forgot the inline keyword (though for gcc it was implicit)

This commit is contained in:
Gael Guennebaud
2008-10-25 22:41:53 +00:00
parent e5b8a59cfa
commit 505ce85814
8 changed files with 16 additions and 16 deletions

View File

@@ -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>();