From 4f3f25e1ca74e6bf0e70a5303e0a658bffb4375d Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 9 Oct 2023 16:46:54 +0200 Subject: [PATCH] fixed Mac compilation. Unlike the other platforms this builds its config paths from variable data. --- source/common/utility/configfile.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/common/utility/configfile.h b/source/common/utility/configfile.h index cc484a3c2..f1a5ab87d 100644 --- a/source/common/utility/configfile.h +++ b/source/common/utility/configfile.h @@ -66,6 +66,10 @@ public: bool NextInSection (const char *&key, const char *&value); const char *GetValueForKey (const char *key) const; void SetValueForKey (const char *key, const char *value, bool duplicates=false); + void SetValueForKey(const char* key, const FString& value, bool duplicates = false) + { + SetValueForKey(key, value.GetChars(), duplicates); + } const char *GetPathName () const { return PathName.GetChars(); } void ChangePathName (const char *path);