Follow-up after 9cde96993e
b67ad6434d
Fixed compilation on GCC and CLang
This commit is contained in:
parent
ed65cdd955
commit
b3b44681a9
@ -160,14 +160,14 @@ template Vec3d BoundingBox3Base<Vec3d>::size() const;
|
||||
template <class PointType, typename APointsType> double BoundingBoxBase<PointType, APointsType>::radius() const
|
||||
{
|
||||
assert(this->defined);
|
||||
return 0.5 * (this->max - this->min).cast<double>().norm();
|
||||
return 0.5 * (this->max - this->min).template cast<double>().norm();
|
||||
}
|
||||
template double BoundingBoxBase<Point, Points>::radius() const;
|
||||
template double BoundingBoxBase<Vec2d>::radius() const;
|
||||
|
||||
template <class PointType> double BoundingBox3Base<PointType>::radius() const
|
||||
{
|
||||
return 0.5 * (this->max - this->min).cast<double>().norm();
|
||||
return 0.5 * (this->max - this->min).template cast<double>().norm();
|
||||
}
|
||||
template double BoundingBox3Base<Vec3d>::radius() const;
|
||||
|
||||
|
@ -161,7 +161,6 @@ inline void polylines_append(Polylines &dst, Polylines &&src)
|
||||
template<typename PointsType>
|
||||
inline void polylines_merge(PointsType &dst, bool dst_first, PointsType &&src, bool src_first)
|
||||
{
|
||||
using PointType = typename PointsType::value_type;
|
||||
if (dst_first) {
|
||||
if (src_first)
|
||||
std::reverse(dst.begin(), dst.end());
|
||||
|
Loading…
Reference in New Issue
Block a user