mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 21:35:28 +00:00
SettingsHandler: Fix const correctness
This commit is contained in:
parent
09d2afa91f
commit
722d31124c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user