Fix Cppcheck warning about non-explicit constructor for MathLib::value

This commit is contained in:
Daniel Marjamäki 2015-07-10 21:17:17 +02:00
parent ac04541d56
commit a4a866ab07
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ public:
void promote(const value &v);
public:
value(const std::string &s);
explicit value(const std::string &s);
std::string str() const;
bool isInt() const {
return type != FLOAT;