fuck windows

This commit is contained in:
lizzie
2026-09-01 02:46:00 +00:00
parent b9fe916bc0
commit 0972816049
+1 -1
View File
@@ -272,7 +272,7 @@ void IPSwitchCompiler::Parse(std::span<u8 const> bytes) {
for (; p > sline.cbegin() && std::isspace(*p); --p)
;
// now we have the preprocessed string ;)
std::string_view pp_str(sline_start, (size_t)(p - sline_start));
std::string_view pp_str(sline_start, size_t(std::distance(p, sline.cbegin())));
if (pp_str.size() > 0 && !parse_line(pp_str)) {
break;
}