Running astyle [ci skip]
This commit is contained in:
parent
e8692b012f
commit
f54c60c13d
|
@ -1335,7 +1335,7 @@ bool MathLib::isLessEqual(const std::string &first, const std::string &second)
|
||||||
**/
|
**/
|
||||||
bool MathLib::isNullValue(const std::string &str)
|
bool MathLib::isNullValue(const std::string &str)
|
||||||
{
|
{
|
||||||
if (str.empty() || (!std::isdigit(static_cast<unsigned char>(str[0])) && (str[0] != '.' && str[0] != '-' && str[0] != '+') ))
|
if (str.empty() || (!std::isdigit(static_cast<unsigned char>(str[0])) && (str[0] != '.' && str[0] != '-' && str[0] != '+')))
|
||||||
return false; // Has to be a number
|
return false; // Has to be a number
|
||||||
|
|
||||||
for (size_t i = 0; i < str.size(); i++) {
|
for (size_t i = 0; i < str.size(); i++) {
|
||||||
|
|
Loading…
Reference in New Issue