Use default construction in emplace_back

Co-Authored-By: Laurent Rineau <Laurent.Rineau@cgal.org>
This commit is contained in:
Simon Giraudot 2020-04-14 09:32:02 +02:00 committed by GitHub
parent d42113bbaf
commit 74f1cad971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }