mirror of https://github.com/CGAL/cgal
Fix MSVC warnings
This commit is contained in:
parent
c641904fad
commit
f19c4b29d8
|
|
@ -457,7 +457,9 @@ Image_3::labellized_trilinear_interpolation(const Coord_type& x,
|
|||
labels.insert(((Image_word_type*)image()->data)[(i2 * dimy + j2) * dimx + k1]);
|
||||
labels.insert(((Image_word_type*)image()->data)[(i2 * dimy + j2) * dimx + k2]);
|
||||
|
||||
CGAL_HISTOGRAM_PROFILER("Number of labels around a vertex, Image_3::labellized_trilinear_interpolation()", labels.size());
|
||||
CGAL_HISTOGRAM_PROFILER(
|
||||
"Number of labels around a vertex, Image_3::labellized_trilinear_interpolation()",
|
||||
static_cast<unsigned int>(labels.size()));
|
||||
|
||||
if(labels.size() == 1) {
|
||||
return *(labels.begin());
|
||||
|
|
|
|||
|
|
@ -1932,7 +1932,8 @@ private:
|
|||
std::unique_copy(all_facets.begin(),
|
||||
all_facets.end(),
|
||||
std::back_inserter(facets));
|
||||
CGAL_HISTOGRAM_PROFILER("|facets|", facets.size());
|
||||
CGAL_HISTOGRAM_PROFILER("|facets|",
|
||||
static_cast<unsigned int>(facets.size()));
|
||||
return facets;
|
||||
}
|
||||
|
||||
|
|
@ -2678,7 +2679,8 @@ rebuild_restricted_delaunay(OutdatedCells& outdated_cells,
|
|||
t.reset();
|
||||
# endif
|
||||
|
||||
CGAL_HISTOGRAM_PROFILER("|vertex_to_proj|=", vertex_to_proj.size());
|
||||
CGAL_HISTOGRAM_PROFILER("|vertex_to_proj|=",
|
||||
static_cast<unsigned int>(vertex_to_proj.size()));
|
||||
// Project interior vertices
|
||||
// Note: ~0% of rebuild_restricted_delaunay time
|
||||
// TODO : iterate to be sure no interior vertice become on the surface
|
||||
|
|
|
|||
Loading…
Reference in New Issue