Fix bug in mesh_3 tests

This commit is contained in:
Maxime Gimeno 2020-08-27 13:46:04 +02:00
parent 39c0f96492
commit 56af55ecd4
2 changed files with 12 additions and 2 deletions

View File

@ -24,8 +24,12 @@ class Mesh_complex_3_in_triangulation_3;
template<class Tr, bool c3t3_loader_failed>
bool build_triangulation_from_file(std::istream& is,
Tr& tr);
Tr& tr,
bool prevent_domain_0);
template<class Tr, bool c3t3_loader_failed>
bool build_triangulation_from_file(std::istream& is,
Tr& tr);
} // CGAL
#endif

View File

@ -404,7 +404,7 @@ bool build_triangulation(Tr& tr,
template<class Tr, bool c3t3_loader_failed>
bool build_triangulation_from_file(std::istream& is,
Tr& tr,
bool prevent_domain_0 = true)
bool prevent_domain_0)
{
typedef typename Tr::Point Point_3;
@ -497,6 +497,12 @@ bool build_triangulation_from_file(std::istream& is,
return is_well_built;
}
template<class Tr, bool c3t3_loader_failed>
bool build_triangulation_from_file(std::istream& is,
Tr& tr)
{
return build_triangulation_from_file<Tr, c3t3_loader_failed>(is, tr, true);
}
} // namespace CGAL
#include <CGAL/enable_warnings.h>