Core/Log: Pass string_view by value instead of ref

This commit is contained in:
SirLynix
2023-02-22 19:04:07 +01:00
parent e96204a2ab
commit b38f9dc79b
10 changed files with 18 additions and 18 deletions

View File

@@ -24,8 +24,8 @@ namespace Nz
bool IsStdReplicationEnabled() const override;
void Write(const std::string_view& error) override;
void WriteError(ErrorType type, const std::string_view& error, unsigned int line = 0, const char* file = nullptr, const char* function = nullptr) override;
void Write(std::string_view string) override;
void WriteError(ErrorType type, std::string_view error, unsigned int line = 0, const char* file = nullptr, const char* function = nullptr) override;
StdLogger& operator=(const StdLogger&) = default;
StdLogger& operator=(StdLogger&&) noexcept = default;