Skip to content

Commit

Permalink
compile error fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Aug 27, 2023
1 parent 812b337 commit daabe19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/Gui/GlobalSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ std::string GlobalSettings::getStringState(std::string const& key, std::string c
return result;
}

void GlobalSettings::setStringState(std::string const& key, std::string const& value)
void GlobalSettings::setStringState(std::string const& key, std::string value)
{
#ifdef _WIN32
setStringToWinReg(key, value);
Expand Down
2 changes: 1 addition & 1 deletion source/Gui/GlobalSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class GlobalSettings
void setFloatState(std::string const& key, float value);

std::string getStringState(std::string const& key, std::string const& defaultValue);
void setStringState(std::string const& key, std::string const& value);
void setStringState(std::string const& key, std::string value);

private:
GlobalSettings();
Expand Down

0 comments on commit daabe19

Please sign in to comment.