diff --git a/CGAL_ipelets/demo/CGAL_ipelets/alpha_shapes.cpp b/CGAL_ipelets/demo/CGAL_ipelets/alpha_shapes.cpp index 62a35e224da..d4b9fbaefab 100644 --- a/CGAL_ipelets/demo/CGAL_ipelets/alpha_shapes.cpp +++ b/CGAL_ipelets/demo/CGAL_ipelets/alpha_shapes.cpp @@ -80,7 +80,7 @@ void ASphapeIpelet::protected_run(int fn) ); - if (pt_list.empty() and cir_list.empty()) { + if (pt_list.empty() && cir_list.empty()) { print_error_message("No circle nor point selected"); return; } diff --git a/CGAL_ipelets/demo/CGAL_ipelets/mesh_2.cpp b/CGAL_ipelets/demo/CGAL_ipelets/mesh_2.cpp index 3de45eff734..03cb6df4ecd 100644 --- a/CGAL_ipelets/demo/CGAL_ipelets/mesh_2.cpp +++ b/CGAL_ipelets/demo/CGAL_ipelets/mesh_2.cpp @@ -77,7 +77,7 @@ void IpeletMesh2::protected_run(int fn) ) ); - if (pt_list.empty() and sg_list.empty() and pol_list.empty()) { + if (pt_list.empty() && sg_list.empty() && pol_list.empty()) { print_error_message("No mark selected"); return; }