aboutsummaryrefslogtreecommitdiff
path: root/src/common/Logging/LogMessage.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-07-23 00:27:26 +0200
committerShauren <shauren.trinity@gmail.com>2023-07-23 00:27:26 +0200
commit576ca241ecaea6f357a13f022fb297976aa967ca (patch)
treeca7080859e2755f9103d0dea538d7fbf2348b333 /src/common/Logging/LogMessage.h
parent3be66cee2642f67c4fbe200cb3b056b8d68735dd (diff)
Core/Logging: Minor compile time reducing refactor of log message formatting
Diffstat (limited to 'src/common/Logging/LogMessage.h')
-rw-r--r--src/common/Logging/LogMessage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/Logging/LogMessage.h b/src/common/Logging/LogMessage.h
index d9709b43c4c..90aad60346c 100644
--- a/src/common/Logging/LogMessage.h
+++ b/src/common/Logging/LogMessage.h
@@ -25,8 +25,8 @@
struct TC_COMMON_API LogMessage
{
- LogMessage(LogLevel _level, std::string const& _type, std::string&& _text);
- LogMessage(LogLevel _level, std::string const& _type, std::string&& _text, std::string&& _param1);
+ LogMessage(LogLevel _level, std::string_view _type, std::string _text);
+ LogMessage(LogLevel _level, std::string_view _type, std::string _text, std::string _param1);
LogMessage(LogMessage const& /*other*/) = delete;
LogMessage& operator=(LogMessage const& /*other*/) = delete;