One more usecase of not creating a temporary std::string

This commit is contained in:
Alexander Bock
2020-08-20 15:27:52 +02:00
parent 1f2a97d7fd
commit 5aa2db2831
2 changed files with 2 additions and 2 deletions

View File

@@ -681,7 +681,7 @@ void mainDecodeFun(const std::vector<std::byte>& data, unsigned int) {
void mainLogCallback(Log::Level level, const char* message) {
ZoneScoped
std::string msg = message;
std::string_view msg = message;
switch (level) {
case Log::Level::Debug:
LDEBUGC("SGCT", msg);