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 db27187 commit 67a7b36Copy full SHA for 67a7b36
src/utils.cpp
@@ -74,7 +74,9 @@ 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
- fast_float::from_chars(&(*value.begin()), &(*value.end()), converted_value);
+ fast_float::from_chars(value.data(),
78
+ value.data() + value.size(),
79
+ converted_value); // NOLINT -- Trying to iterators on the value causes the test to infinitly hang on windows builds
80
return converted_value;
81
}
82
0 commit comments