We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe7f3a commit db27187Copy full SHA for db27187
src/utils.cpp
@@ -74,9 +74,7 @@ std::string String::trim(const std::string& line) {
74
75
double String::convert_to_double(const std::string& value, double default_value) {
76
double converted_value = default_value;
77
- auto begin = value.begin();
78
- auto end = value.end();
79
- fast_float::from_chars(&(*begin), &(*end), converted_value);
+ fast_float::from_chars(&(*value.begin()), &(*value.end()), converted_value);
80
return converted_value;
81
}
82
0 commit comments