removed unnecessary typename

This commit is contained in:
Sven Oesau 2025-01-07 09:15:10 +01:00
parent 01e7864526
commit e1cc01c34d
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ struct Orthtree_traits_base {
struct Construct_point_d {
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... };
return Point_d{ static_cast<int>(args_list.size()), args_list.begin(), args_list.end() };
}

View File

@ -171,7 +171,7 @@ public:
struct Distribute_node_contents {
const PointMap m_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));
reassign_points(tree, m_point_map, n, center, tree.data(n));
};