mirror of https://github.com/CGAL/cgal
Use default construction in emplace_back
Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
parent
d42113bbaf
commit
74f1cad971
|
|
@ -167,7 +167,7 @@ private:
|
||||||
#ifdef CGAL_TBB_STRUCTURE_IN_KD_TREE
|
#ifdef CGAL_TBB_STRUCTURE_IN_KD_TREE
|
||||||
return &*(internal_nodes.push_back(Internal_node()));
|
return &*(internal_nodes.push_back(Internal_node()));
|
||||||
#else
|
#else
|
||||||
internal_nodes.emplace_back (Internal_node());
|
internal_nodes.emplace_back ();
|
||||||
return &(internal_nodes.back());
|
return &(internal_nodes.back());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue