summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/smallstack_type.hpp2
-rw-r--r--src/core/smallvec_type.hpp9
2 files changed, 1 insertions, 10 deletions
diff --git a/src/core/smallstack_type.hpp b/src/core/smallstack_type.hpp
index 76d97f961..5a9d329a9 100644
--- a/src/core/smallstack_type.hpp
+++ b/src/core/smallstack_type.hpp
@@ -74,7 +74,7 @@ private:
}
if (index >= this->data.size() && index < Tmax_size) {
- this->data.Resize(index + 1);
+ this->data.resize(index + 1);
}
return index;
}
diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp
index 600b7ea26..e78f98a50 100644
--- a/src/core/smallvec_type.hpp
+++ b/src/core/smallvec_type.hpp
@@ -98,15 +98,6 @@ public:
}
/**
- * Set the size of the vector, effectively truncating items from the end or appending uninitialised ones.
- * @param num_items Target size.
- */
- inline void Resize(uint num_items)
- {
- std::vector<T>::resize(num_items);
- }
-
- /**
* Insert a new item at a specific position into the vector, moving all following items.
* @param item Position at which the new item should be inserted
* @return pointer to the new item