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