Skip to content
Snippets Groups Projects
Verified Commit b19b81ce authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix std::from_chars not being compatible with std::string_view

parent cd7fecbc
No related branches found
No related tags found
No related merge requests found
Pipeline #3842 passed
......@@ -343,7 +343,7 @@ PushRuleEvaluator::PushRuleEvaluator(const Ruleset &rules_)
is = is.substr(1);
}
std::from_chars(is.begin(), is.end(), c.count);
std::from_chars(is.data(), is.data() + is.size(), c.count);
rule.membercounts.push_back(c);
} else if (cond.kind == "sender_notification_permission") {
rule.notification_levels.push_back(cond.key);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment