mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Use C++17 ctor for string_view
This commit is contained in:
parent
9a868e9239
commit
246bf1df64
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue