This commit is contained in:
TotallyNotElite 2018-09-01 22:06:39 +02:00
parent d95dca96e6
commit 8a5ff5a323
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ public:
setInternal(true); setInternal(true);
} }
inline Variable<bool> &operator=(const std::string &string) inline void operator=(const std::string &string)
{ {
fromString(string); fromString(string);
} }
@ -50,7 +50,7 @@ public:
return value; return value;
} }
inline Variable<bool> &operator=(bool next) inline void operator=(bool next)
{ {
setInternal(next); setInternal(next);
} }
@ -78,4 +78,4 @@ protected:
bool value{ false }; bool value{ false };
std::string string{ "false" }; std::string string{ "false" };
}; };
} // namespace settings } // namespace settings

View File

@ -251,7 +251,7 @@ void CreateMove()
{ {
// Check usersettings if enabled // Check usersettings if enabled
if (!enable) if (!*enable)
return; return;
// Something // Something