summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2018-09-20 23:44:14 +0100
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitbfd79e59dc34314a089a0024af56d04d84456ebd (patch)
treed03559bac7a8c3f1d260cead2ed77791c03d37a5 /src/core
parent4b349c0f90c3f7b6a39171cec41cd98dcd0d88b7 (diff)
downloadopenttd-bfd79e59dc34314a089a0024af56d04d84456ebd.tar.xz
Codechange: Replace SmallVector::Clear() with std::vector::clear()
Diffstat (limited to 'src/core')
-rw-r--r--src/core/smallvec_type.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp
index 795435d7a..89fdd1369 100644
--- a/src/core/smallvec_type.hpp
+++ b/src/core/smallvec_type.hpp
@@ -78,14 +78,6 @@ public:
}
/**
- * Remove all items from the list.
- */
- inline void Clear()
- {
- std::vector<T>::clear();
- }
-
- /**
* Remove all items from the list and free allocated memory.
*/
inline void Reset()