Fixed typo in inline template specialization code.
This commit is contained in:
parent
96a75ae133
commit
69674e723a
@ -379,13 +379,13 @@ public:
|
||||
template <>
|
||||
static const bool valueFromString(const string& value)
|
||||
{
|
||||
if (utility::stringUtils::toLower(m_value) == "true")
|
||||
if (utility::stringUtils::toLower(value) == "true")
|
||||
return true;
|
||||
else
|
||||
{
|
||||
int val = 0;
|
||||
|
||||
std::istringstream iss(m_value);
|
||||
std::istringstream iss(value);
|
||||
iss >> val;
|
||||
|
||||
return (!iss.fail() && val != 0);
|
||||
|
Loading…
Reference in New Issue
Block a user