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);
}
inline Variable<bool> &operator=(const std::string &string)
inline void operator=(const std::string &string)
{
fromString(string);
}
@ -50,7 +50,7 @@ public:
return value;
}
inline Variable<bool> &operator=(bool next)
inline void operator=(bool next)
{
setInternal(next);
}

View File

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