mirror of https://github.com/CGAL/cgal
fix warnings
This commit is contained in:
parent
b6bdac2847
commit
ade16fc7d7
|
|
@ -131,7 +131,7 @@ public:
|
||||||
CGAL::Bbox_2 bbox;
|
CGAL::Bbox_2 bbox;
|
||||||
for (auto it = m_arr.vertices_begin(); it != m_arr.vertices_end(); ++it) {
|
for (auto it = m_arr.vertices_begin(); it != m_arr.vertices_end(); ++it) {
|
||||||
bh::if_(has_approximate_2_object(Gt{}),
|
bh::if_(has_approximate_2_object(Gt{}),
|
||||||
[&](auto& x) {
|
[&](auto& /* x */) {
|
||||||
const auto* traits = this->m_arr.geometry_traits();
|
const auto* traits = this->m_arr.geometry_traits();
|
||||||
auto approx = traits->approximate_2_object();
|
auto approx = traits->approximate_2_object();
|
||||||
auto has_operator =
|
auto has_operator =
|
||||||
|
|
@ -298,7 +298,7 @@ protected:
|
||||||
while (curr->face() == curr->twin()->face()) curr = curr->twin()->next();
|
while (curr->face() == curr->twin()->face()) curr = curr->twin()->next();
|
||||||
|
|
||||||
bh::if_(has_approximate_2_object(Gt{}),
|
bh::if_(has_approximate_2_object(Gt{}),
|
||||||
[&](auto& x) {
|
[&](auto& /* x */) {
|
||||||
auto approx = traits->approximate_2_object();
|
auto approx = traits->approximate_2_object();
|
||||||
auto has_operator =
|
auto has_operator =
|
||||||
bh::is_valid(can_call_operator_curve<int>{});
|
bh::is_valid(can_call_operator_curve<int>{});
|
||||||
|
|
@ -366,7 +366,7 @@ protected:
|
||||||
bh::is_valid([](auto&& x) -> decltype(x.approximate_2_object()){});
|
bh::is_valid([](auto&& x) -> decltype(x.approximate_2_object()){});
|
||||||
const auto* traits = this->m_arr.geometry_traits();
|
const auto* traits = this->m_arr.geometry_traits();
|
||||||
bh::if_(has_approximate_2_object(Gt{}),
|
bh::if_(has_approximate_2_object(Gt{}),
|
||||||
[&](auto& x) {
|
[&](auto& /* x */) {
|
||||||
auto approx = traits->approximate_2_object();
|
auto approx = traits->approximate_2_object();
|
||||||
auto has_operator = bh::is_valid(can_call_operator_curve<int>{});
|
auto has_operator = bh::is_valid(can_call_operator_curve<int>{});
|
||||||
bh::if_(has_operator(approx),
|
bh::if_(has_operator(approx),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue