summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorHenry Wilson <m3henry@googlemail.com>2019-03-04 20:49:33 +0000
committerPeterN <peter@fuzzle.org>2019-03-26 20:15:57 +0000
commitcc62f4163f230ed82ef3b04187987d3e380cd570 (patch)
treec4e271f72ae231d9934f215624054d605665ca6c /src/saveload
parentc01a2e2a81d8e7bcd47d46292ed0b7d452081c31 (diff)
downloadopenttd-cc62f4163f230ed82ef3b04187987d3e380cd570.tar.xz
Cleanup: Remove unused size template parameters from SmallMap and Auto[Free|Delete]SmallVector
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/saveload.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index ee4876fd5..c97087224 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -125,9 +125,9 @@ struct ReadBuffer {
/** Container for dumping the savegame (quickly) to memory. */
struct MemoryDumper {
- AutoFreeSmallVector<byte *, 16> blocks; ///< Buffer with blocks of allocated memory.
- byte *buf; ///< Buffer we're going to write to.
- byte *bufe; ///< End of the buffer we write to.
+ AutoFreeSmallVector<byte *> blocks; ///< Buffer with blocks of allocated memory.
+ byte *buf; ///< Buffer we're going to write to.
+ byte *bufe; ///< End of the buffer we write to.
/** Initialise our variables. */
MemoryDumper() : buf(NULL), bufe(NULL)