summaryrefslogtreecommitdiff
path: root/src/fios.h
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2018-09-25 21:20:24 +0100
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commit097328c3d73520834b4ef801945c4f57f9eca0cd (patch)
treeb128c52ecba8fecc8bec436b5517faf0f976d5d2 /src/fios.h
parentaa7ca7fe64af51c2cd2400e3dec477dfbddadae3 (diff)
downloadopenttd-097328c3d73520834b4ef801945c4f57f9eca0cd.tar.xz
Codechange: Replaced SmallVector::Get() const with std alternatives
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 0fe6fcc06..85b6b0dd6 100644
--- a/src/fios.h
+++ b/src/fios.h
@@ -156,7 +156,7 @@ public:
*/
inline const FiosItem *Get(uint index) const
{
- return this->files.Get(index);
+ return this->files.data() + index;
}
/**