mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
SettingsHandler: Fix const correctness
This commit is contained in:
@ -44,7 +44,7 @@ void SettingsHandler::SetBytes(SettingsHandler::Buffer&& buffer)
|
||||
Decrypt();
|
||||
}
|
||||
|
||||
const std::string SettingsHandler::GetValue(const std::string& key)
|
||||
std::string SettingsHandler::GetValue(const std::string& key) const
|
||||
{
|
||||
std::string delim = std::string("\r\n");
|
||||
std::string toFind = delim + key + "=";
|
||||
|
@ -29,7 +29,7 @@ public:
|
||||
|
||||
const Buffer& GetBytes() const;
|
||||
void SetBytes(Buffer&& buffer);
|
||||
const std::string GetValue(const std::string& key);
|
||||
std::string GetValue(const std::string& key) const;
|
||||
|
||||
void Decrypt();
|
||||
void Reset();
|
||||
|
Reference in New Issue
Block a user