aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/stubs
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@digia.com>2013-04-15 16:25:30 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-04-17 13:46:31 +0200
commit3c009c94e573b8ef17b7d075c938a82ef12a7ba0 (patch)
tree96d6bade589192af73883c34dc68da63b1b01479 /src/3rdparty/masm/stubs
parenta19ed97f4c805ac6523497a13c81ab591a6f2522 (diff)
Don't use std::vector::shrink_to_fit(), it's C++11, and not enabled on iOS
Change-Id: I547df5bcf09837ebac9d64d66a4171ed87627b1a Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/3rdparty/masm/stubs')
-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); }