aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/3rdparty/masm/stubs/wtf/Vector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/masm/stubs/wtf/Vector.h b/src/3rdparty/masm/stubs/wtf/Vector.h
index 836d91c00c..1fa2b58eec 100644
--- a/src/3rdparty/masm/stubs/wtf/Vector.h
+++ b/src/3rdparty/masm/stubs/wtf/Vector.h
@@ -99,7 +99,7 @@ public:
{ this->erase(this->std::vector<T>::begin() + size, this->std::vector<T>::end()); }
inline void shrinkToFit()
- { this->shrink_to_fit(); }
+ { this->shrink(this->size()); }
inline void remove(size_t position)
{ this->erase(this->std::vector<T>::begin() + position); }