Skip to content

Commit

Permalink
Disable memory reserve. Refs #16039
Browse files Browse the repository at this point in the history
  • Loading branch information
palvarezlopez committed Jan 21, 2025
1 parent 02e89bc commit 652a3fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/netedit/elements/GNEHierarchicalContainerChildren.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class GNEHierarchicalContainerChildren : public std::vector<T> {
public:
/// @brief default constructor
GNEHierarchicalContainerChildren() {
// we reserve at least 5 positions
reserve(5);
}

/// @brief parameter constructor
Expand Down
2 changes: 0 additions & 2 deletions src/netedit/elements/GNEHierarchicalContainerParents.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ class GNEHierarchicalContainerParents : public std::vector<T> {
public:
/// @brief default constructor
GNEHierarchicalContainerParents() {
// we reserve at least 5 positions
reserve(5);
}

/// @brief parameter constructor
Expand Down

0 comments on commit 652a3fa

Please sign in to comment.