mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +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;
|
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))
|
if (is_exempt(macro_name))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user