mirror of https://github.com/CGAL/cgal
removed unnecessary typename
This commit is contained in:
parent
01e7864526
commit
e1cc01c34d
|
|
@ -91,7 +91,7 @@ struct Orthtree_traits_base {
|
||||||
|
|
||||||
struct Construct_point_d {
|
struct Construct_point_d {
|
||||||
template <typename ...Args, typename T = std::common_type_t<Args...>>
|
template <typename ...Args, typename T = std::common_type_t<Args...>>
|
||||||
typename Point_d operator()(Args ...args) {
|
Point_d operator()(Args ...args) {
|
||||||
std::initializer_list<T> args_list{ args... };
|
std::initializer_list<T> args_list{ args... };
|
||||||
return Point_d{ static_cast<int>(args_list.size()), args_list.begin(), args_list.end() };
|
return Point_d{ static_cast<int>(args_list.size()), args_list.begin(), args_list.end() };
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,7 @@ public:
|
||||||
struct Distribute_node_contents {
|
struct Distribute_node_contents {
|
||||||
const PointMap m_point_map;
|
const PointMap m_point_map;
|
||||||
Distribute_node_contents(const PointMap& point_map) : m_point_map(point_map) {}
|
Distribute_node_contents(const PointMap& point_map) : m_point_map(point_map) {}
|
||||||
typename void operator()(Node_index n, Tree& tree, const typename Self::Point_d& center) {
|
void operator()(Node_index n, Tree& tree, const typename Self::Point_d& center) {
|
||||||
CGAL_precondition(!tree.is_leaf(n));
|
CGAL_precondition(!tree.is_leaf(n));
|
||||||
reassign_points(tree, m_point_map, n, center, tree.data(n));
|
reassign_points(tree, m_point_map, n, center, tree.data(n));
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue