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-08-15 22:03:47 +0200
commit26836f865511f0f6a48c930264537637eb313cd4 (patch)
tree6a77f352a9f1de9423e46a05721266f9b89cd504 /src/common/Logging/LogMessage.h
parent4e6118c919bd1f3cd864526345c0b9b7abcbb2e4 (diff)
Core/Logging: Minor compile time reducing refactor of log message formatting
(cherry picked from commit 576ca241ecaea6f357a13f022fb297976aa967ca)
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;