mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
Use C++17 ctor for string_view
This commit is contained in:
parent
9a868e9239
commit
246bf1df64
@ -81,7 +81,7 @@ namespace gl
|
||||
break;
|
||||
}
|
||||
|
||||
const auto macro_name = std::string_view(source.data() + name_start, source.data() + name_end + 1);
|
||||
const auto macro_name = std::string_view(source.data() + name_start, (name_end - name_start) + 1);
|
||||
if (is_exempt(macro_name))
|
||||
{
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user