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:
SirLynix
2023-08-24 08:23:14 +02:00
parent 1b7a89213d
commit bd53245f42
51 changed files with 115 additions and 115 deletions

View File

@@ -51,7 +51,7 @@ namespace Nz::GL
const WebLoader& m_loader;
private:
bool ImplementFallback(const std::string_view& function) override;
bool ImplementFallback(std::string_view function) override;
bool Activate() const override;
void Desactivate() const override;

View File

@@ -31,7 +31,7 @@ namespace Nz::GL
static const char* TranslateError(EMSCRIPTEN_RESULT errorId);
private:
bool ImplementFallback(const std::string_view& function);
bool ImplementFallback(std::string_view function);
};
}