Core/StringExt: Don't pass string_view by ref
https://quuxplusone.github.io/blog/2021/11/09/pass-string-view-by-value/
This commit is contained in:
@@ -85,7 +85,7 @@ namespace Nz::GL
|
||||
}
|
||||
|
||||
template<typename C, GLenum ObjectType, typename... CreateArgs>
|
||||
void ContextObject<C, ObjectType, CreateArgs...>::SetDebugName(const std::string_view& name)
|
||||
void ContextObject<C, ObjectType, CreateArgs...>::SetDebugName(std::string_view name)
|
||||
{
|
||||
EnsureContext();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user