Skip to content

Commit

Permalink
Clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Sep 25, 2023
1 parent 0cc19d9 commit 469ec14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/message/LogMessage.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ namespace message {
*/
LogMessage(const LogLevel& level,
const LogLevel& display_level,
const std::string& message,
const std::shared_ptr<ReactionStatistics>& task)
: level(level), display_level(display_level), message(message), task(task) {}
std::string message,
std::shared_ptr<ReactionStatistics> task)
: level(level), display_level(display_level), message(std::move(message)), task(std::move(task)) {}

/// @brief The logging level of the log.
LogLevel level{};
Expand Down

0 comments on commit 469ec14

Please sign in to comment.