Fix link errors in Windows
This commit is contained in:
parent
b546d86e6b
commit
153c736a06
|
@ -41,16 +41,18 @@ public:
|
|||
// ===========================================================================
|
||||
/// @{
|
||||
|
||||
void AddSectionIfMissing(const FString &Section)
|
||||
{
|
||||
ConfigFile.FindOrAddSection(Section);
|
||||
}
|
||||
|
||||
bool HasSection(const FString &Section) const
|
||||
{
|
||||
return (ConfigFile.Num() > 0) && (ConfigFile.Find(Section) != nullptr);
|
||||
}
|
||||
|
||||
void AddSectionIfMissing(const FString &Section)
|
||||
{
|
||||
if (!HasSection(Section)) {
|
||||
ConfigFile.Add(Section, FConfigSection());
|
||||
}
|
||||
}
|
||||
|
||||
/// Write contents to disk.
|
||||
bool Write(const FString &Filename)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue