removed unused ini functions .

This commit is contained in:
Zero Fanker 2025-01-05 19:06:15 -05:00
parent 236a824614
commit da8e436cd1
2 changed files with 1 additions and 12 deletions

View file

@ -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);
}
}

View file

@ -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);