summaryrefslogtreecommitdiff
path: root/include/o3tl/sorted_vector.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/o3tl/sorted_vector.hxx')
-rw-r--r--include/o3tl/sorted_vector.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/o3tl/sorted_vector.hxx b/include/o3tl/sorted_vector.hxx
index 7a9ca4568032..9141c592ffd8 100644
--- a/include/o3tl/sorted_vector.hxx
+++ b/include/o3tl/sorted_vector.hxx
@@ -86,6 +86,11 @@ public:
m_vector.clear();
}
+ void reserve(size_type amount)
+ {
+ m_vector.reserve(amount);
+ }
+
// ACCESSORS
size_type size() const