From 1d3b2c08a8ff79e84da6844d65cad8dc7b161ecf Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Tue, 30 May 2023 12:32:09 +0300 Subject: [PATCH] Fix errors --- src/sfall_ini.cc | 2 +- src/sfall_ini.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sfall_ini.cc b/src/sfall_ini.cc index 0347a3b..ee4aced 100644 --- a/src/sfall_ini.cc +++ b/src/sfall_ini.cc @@ -15,7 +15,7 @@ static constexpr size_t kFileNameMaxSize = 63; static constexpr size_t kSectionMaxSize = 32; /// Special .ini file names which are accessed without adding base path. -static constexpr char* kSystemConfigFileNames[] = { +static constexpr const char* kSystemConfigFileNames[] = { "ddraw.ini", "f2_res.ini", }; diff --git a/src/sfall_ini.h b/src/sfall_ini.h index 793b853..ac4cdd8 100644 --- a/src/sfall_ini.h +++ b/src/sfall_ini.h @@ -1,6 +1,8 @@ #ifndef FALLOUT_SFALL_INI_H_ #define FALLOUT_SFALL_INI_H_ +#include + namespace fallout { /// Sets base directory to lookup .ini files.