Skip to content

Commit

Permalink
removed unnecessary typename
Browse files Browse the repository at this point in the history
  • Loading branch information
soesau committed Jan 7, 2025
1 parent 01e7864 commit e1cc01c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Orthtree/include/CGAL/Orthtree_traits_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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() };
}
Expand Down
2 changes: 1 addition & 1 deletion Orthtree/include/CGAL/Orthtree_traits_point.h
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ struct Orthtree_traits_point : public Orthtree_traits_base<GeomTraits, dimension
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));
};
Expand Down

0 comments on commit e1cc01c

Please sign in to comment.