reorder init of members

This commit is contained in:
Sébastien Loriot 2012-08-20 08:27:55 +00:00
parent 973a2d0a4f
commit f2abaabc8f
1 changed files with 4 additions and 4 deletions

View File

@ -169,10 +169,10 @@ public:
// points to std::map instance which exists in copied object (rhs).
Surface_mesh_segmentation(const
Surface_mesh_segmentation<Polyhedron, FacetIndexMap>& rhs):
mesh(rhs.mesh), sdf_values(rhs.sdf_values), centers(rhs.centers),
segments(rhs.segments),
is_pmmap_custom(rhs.is_pmmap_custom),
facet_index_map_internal(rhs.facet_index_map_internal) {
mesh(rhs.mesh), facet_index_map_internal(rhs.facet_index_map_internal),
sdf_values(rhs.sdf_values),
centers(rhs.centers), segments(rhs.segments),
is_pmmap_custom(rhs.is_pmmap_custom) {
if(!is_pmmap_custom) {
facet_index_map = FacetIndexMap(facet_index_map_internal);
}