mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Remove unnecessary shrink_to_fit
This commit is contained in:
parent
f70cd29ded
commit
6cb9a06f5a
2 changed files with 0 additions and 3 deletions
|
|
@ -250,7 +250,6 @@ Cell::Cell(pugi::xml_node cell_node)
|
|||
material.push_back(std::stoi(mat));
|
||||
}
|
||||
}
|
||||
material.shrink_to_fit();
|
||||
} else {
|
||||
std::stringstream err_msg;
|
||||
err_msg << "An empty material element was specified for cell " << id;
|
||||
|
|
@ -458,7 +457,6 @@ read_cells(pugi::xml_node* node)
|
|||
for (pugi::xml_node cell_node: node->children("cell")) {
|
||||
global_cells.push_back(new Cell(cell_node));
|
||||
}
|
||||
global_cells.shrink_to_fit();
|
||||
|
||||
// Populate the Universe vector and map.
|
||||
for (int i = 0; i < global_cells.size(); i++) {
|
||||
|
|
|
|||
|
|
@ -1083,7 +1083,6 @@ read_surfaces(pugi::xml_node* node)
|
|||
}
|
||||
}
|
||||
}
|
||||
global_surfaces.shrink_to_fit();
|
||||
|
||||
// Fill the surface map.
|
||||
for (int i_surf = 0; i_surf < n_surfaces; i_surf++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue