fix a reserve()

This commit is contained in:
Andreas Fabri 2019-11-12 18:40:17 +01:00
parent 0faaf2d21c
commit a35a7ebf9b
1 changed files with 1 additions and 1 deletions

View File

@ -843,7 +843,7 @@ self_intersections( const FaceRange& face_range,
}
// generate box pointers
std::vector<const Box*> box_ptr;
box_ptr.reserve(num_faces(tmesh));
box_ptr.reserve(boxes.size());
for(Box& b : boxes)
box_ptr.push_back(&b);