diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-04-15 16:25:30 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-04-17 13:46:31 +0200 |
commit | 3c009c94e573b8ef17b7d075c938a82ef12a7ba0 (patch) | |
tree | 96d6bade589192af73883c34dc68da63b1b01479 /src | |
parent | a19ed97f4c805ac6523497a13c81ab591a6f2522 (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')
-rw-r--r-- | src/3rdparty/masm/stubs/wtf/Vector.h | 2 |
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); } |