mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-25 03:31:40 +00:00
SettingsHandler: Fix const correctness
This commit is contained in:
parent
09d2afa91f
commit
722d31124c
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ void SettingsHandler::SetBytes(SettingsHandler::Buffer&& buffer)
|
||||||
Decrypt();
|
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 delim = std::string("\r\n");
|
||||||
std::string toFind = delim + key + "=";
|
std::string toFind = delim + key + "=";
|
||||||
|
|
|
@ -29,7 +29,7 @@ public:
|
||||||
|
|
||||||
const Buffer& GetBytes() const;
|
const Buffer& GetBytes() const;
|
||||||
void SetBytes(Buffer&& buffer);
|
void SetBytes(Buffer&& buffer);
|
||||||
const std::string GetValue(const std::string& key);
|
std::string GetValue(const std::string& key) const;
|
||||||
|
|
||||||
void Decrypt();
|
void Decrypt();
|
||||||
void Reset();
|
void Reset();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue