summaryrefslogtreecommitdiff
path: root/src/fileio_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio_func.h')
-rw-r--r--src/fileio_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio_func.h b/src/fileio_func.h
index 019573906..d2840b9aa 100644
--- a/src/fileio_func.h
+++ b/src/fileio_func.h
@@ -92,7 +92,7 @@ public:
ALL = BASESET | NEWGRF | AI | SCENARIO | GAME, ///< Scan for everything.
};
- bool AddFile(const std::string &filename, size_t basepath_length, const std::string &tar_filename = nullptr) override;
+ bool AddFile(const std::string &filename, size_t basepath_length, const std::string &tar_filename = {}) override;
bool AddFile(Subdirectory sd, const std::string &filename);