Permalink
Browse files

SettingsHandler: Fix const correctness

  • Loading branch information...
leoetlino committed May 10, 2018
1 parent 09d2afa commit 722d31124ca4a958d658b3c8d2d5dba1cb637ab8
Showing with 2 additions and 2 deletions.
  1. +1 −1 Source/Core/Common/SettingsHandler.cpp
  2. +1 −1 Source/Core/Common/SettingsHandler.h
@@ -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 @@ class SettingsHandler
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();

0 comments on commit 722d311

Please sign in to comment.