mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-24 04:43:49 +00:00
Use std::u8string_view in debug logger overloads parameters.
This commit is contained in:
parent
1a79f098fa
commit
a60cebd0f9
@ -63,7 +63,7 @@ Log& Log::operator<<(std::u8string&& rhs)
|
||||
return *this;
|
||||
}
|
||||
|
||||
Log& Log::operator<<(const std::u8string& rhs)
|
||||
Log& Log::operator<<(const std::u8string_view rhs)
|
||||
{
|
||||
if (mShouldLog)
|
||||
std::cout << Misc::StringUtils::u8StringToString(rhs);
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
|
||||
Log& operator<<(std::u8string&& rhs);
|
||||
|
||||
Log& operator<<(const std::u8string& rhs);
|
||||
Log& operator<<(std::u8string_view rhs);
|
||||
|
||||
Log& operator<<(const char8_t* rhs);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user