mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-01 02:51:41 +00:00
fix sv construct
This commit is contained in:
@@ -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, p);
|
||||
std::string_view pp_str(sline_start, (size_t)(p - sline_start));
|
||||
if (pp_str.size() > 0 && !parse_line(pp_str)) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user