diff --git a/lib/mathlib.h b/lib/mathlib.h index 2c8afdfc9..e5e274b2f 100644 --- a/lib/mathlib.h +++ b/lib/mathlib.h @@ -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;