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:
@@ -57,7 +57,7 @@ namespace Nz::GL
|
||||
EGLSurface m_surface;
|
||||
|
||||
private:
|
||||
bool ImplementFallback(const std::string_view& function) override;
|
||||
bool ImplementFallback(std::string_view function) override;
|
||||
|
||||
bool Activate() const override;
|
||||
void Desactivate() const override;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Nz::GL
|
||||
static const char* TranslateError(EGLint errorId);
|
||||
|
||||
private:
|
||||
bool ImplementFallback(const std::string_view& function);
|
||||
bool ImplementFallback(std::string_view function);
|
||||
|
||||
ContextType m_preferredContextType;
|
||||
EGLDisplay m_defaultDisplay;
|
||||
|
||||
Reference in New Issue
Block a user