mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 04:00:37 -06:00
One more usecase of not creating a temporary std::string
This commit is contained in:
@@ -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);
|
||||
|
||||
Submodule ext/ghoul updated: d8aa4871fe...2341b411c5
Reference in New Issue
Block a user