summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2018-09-21 22:45:44 +0100
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commit9cba6f71936207f11ad0d4ed752d82966087fab9 (patch)
treed36afb33bb2e40118ed7fd7dc5c68fb70e5373f3 /src/fios.h
parentbfd79e59dc34314a089a0024af56d04d84456ebd (diff)
downloadopenttd-9cba6f71936207f11ad0d4ed752d82966087fab9.tar.xz
Codechange: Replaced SmallVector::Compact() with std::vector::shrink_to_fit()
Diffstat (limited to 'src/fios.h')
-rw-r--r--src/fios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fios.h b/src/fios.h
index 788ac654f..848fe7c8e 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -191,7 +191,7 @@ public:
/** Compact the list down to the smallest block size boundary. */
inline void Compact()
{
- this->files.Compact();
+ this->files.shrink_to_fit();
}
void BuildFileList(AbstractFileType abstract_filetype, SaveLoadOperation fop);