Skip to content

Commit

Permalink
Code format - (Clang-format)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 13, 2024
1 parent 2a1e52c commit d074381
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/lib/logging/log_with_spd_log.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Canary - A free and open-source MMORPG server emulator
* Canary - A free and open-source MMORPG server emulator
* Copyright (©) 2019-2024 OpenTibiaBR <[email protected]>
* Repository: https://github.com/opentibiabr/canary
* License: https://github.com/opentibiabr/canary/blob/main/LICENSE
Expand All @@ -14,9 +14,9 @@ LogWithSpdLog::LogWithSpdLog() {
setLevel("info");
spdlog::set_pattern("[%Y-%d-%m %H:%M:%S.%e] [%^%l%$] %v ");

#ifdef DEBUG_LOG
#ifdef DEBUG_LOG
spdlog::set_pattern("[%Y-%d-%m %H:%M:%S.%e] [thread %t] [%^%l%$] %v ");
#endif
#endif
}

Logger &LogWithSpdLog::getInstance() {
Expand Down
3 changes: 1 addition & 2 deletions src/pch.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,12 @@ namespace fmt {
template <typename FormatContext>
auto format(E e, FormatContext &ctx) const -> decltype(ctx.out()) {
return formatter<std::underlying_type_t<E>>::format(
static_cast<std::underlying_type_t<E>>(e), ctx
static_cast<std::underlying_type_t<E>>(e), ctx
);
}
};
}


// GMP
#include <gmp.h>

Expand Down

0 comments on commit d074381

Please sign in to comment.