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 e3b555b commit 9de248bCopy full SHA for 9de248b
link.cpp
@@ -1058,11 +1058,13 @@ bool parse_ft(const std::string &s) {
1058
1059
bool parse_ft(const std::string &s) {
1060
1061
+ // gcc doesn't like std::xdigit w/ std::all_of
1062
+
1063
if (s.length() != 2 && s.length() != 7) return false;
- if (!std::all_of(s.begin(), s.begin() + 2, std::isxdigit)) return false;
1064
+ if (!std::all_of(s.begin(), s.begin() + 2, isxdigit)) return false;
1065
if (s.length() == 7) {
1066
if (s[2] != ',' && s[2] != ':') return false;
- if (!std::all_of(s.begin() + 3, s.end(), std::isxdigit)) return false;
1067
+ if (!std::all_of(s.begin() + 3, s.end(), isxdigit)) return false;
1068
}
1069
1070
auto lambda = [](int lhs, uint8_t rhs){
0 commit comments