mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-04-30 09:01:41 -04:00
removed unused ini functions .
This commit is contained in:
parent
236a824614
commit
da8e436cd1
2 changed files with 1 additions and 12 deletions
|
@ -277,13 +277,4 @@ int64_t CIniFileSection::FindIndex(const CString& key) const noexcept
|
|||
return it->second;
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
CString CIniFile::GetValueByName(const CString& sectionName, const CString& valueName, const CString& defaultValue) const
|
||||
{
|
||||
auto section = TryGetSection(sectionName);
|
||||
if (!section) {
|
||||
return defaultValue;
|
||||
}
|
||||
return section->GetStringOr(valueName, defaultValue);
|
||||
}
|
||||
}
|
|
@ -282,8 +282,6 @@ public:
|
|||
return *this;
|
||||
}
|
||||
|
||||
[[deprecated("instead use GetString")]]
|
||||
CString GetValueByName(const CString& sectionName, const CString& valueName, const CString& defaultValue) const;
|
||||
void Clear();
|
||||
WORD InsertFile(const CString& filename, const char* Section, BOOL bNoSpaces = FALSE);
|
||||
WORD InsertFile(const std::string& filename, const char* Section, BOOL bNoSpaces = FALSE);
|
||||
|
|
Loading…
Add table
Reference in a new issue