fix warnings

This commit is contained in:
Sébastien Loriot 2024-04-19 09:10:06 +02:00
parent eb330d6813
commit ec186667a1
2 changed files with 0 additions and 3 deletions

View File

@ -1330,7 +1330,6 @@ Aos::Country_color_map Aos::get_color_mapping(Arr_handle arrh) {
}
std::string Aos::locate_country(Arr_handle arrh, const QVector3D& point) {
using Point_2 = Countries_arr::Point_2;
using Naive_pl = CGAL::Arr_naive_point_location<Countries_arr>;
auto& arr = *reinterpret_cast<Countries_arr*>(arrh.get());

View File

@ -220,8 +220,6 @@ Aos_triangulator::get_by_country(Aos::Arr_handle arrh, float error,
// std::cout << "processing country " << country_name << std::endl;
auto& triangles = result[country_name];
// CONVERT the face-points to QVector3D
using Face_points = std::vector<QVector3D>;
using Faces_ = std::vector<Face_points>;
for (auto fh : fhs) {
// skip any face with no OUTER-CCB
if (0 == fh->number_of_outer_ccbs()) continue;