Skip to content

Commit

Permalink
Micro-optimze log_it_
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Nov 3, 2019
1 parent 79468cf commit 3ee4f28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/spdlog/logger-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ SPDLOG_INLINE std::shared_ptr<logger> logger::clone(std::string logger_name)
}

// protected methods
SPDLOG_INLINE void logger::log_it_(const spdlog::details::log_msg &log_msg, bool log_enabled, bool traceback_enabled) {}(const details::log_msg &log_msg, bool log_enabled, bool traceback_enabled)
SPDLOG_INLINE void logger::log_it_(const spdlog::details::log_msg &log_msg, bool log_enabled, bool traceback_enabled)
{
if (log_enabled)
{
Expand Down

0 comments on commit 3ee4f28

Please sign in to comment.