Skip to content

Commit

Permalink
Fixed multiple definition of LOG_EVERY_T
Browse files Browse the repository at this point in the history
  • Loading branch information
4c3y committed Apr 5, 2024
1 parent 5157822 commit 9109029
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/log++.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,6 @@ LPP_INTL::InternalPolicyLog<int>(LPP_GET_KEY(), n, LPP_INTL::BaseSeverity::DEBUG

#define LOG_IF(severity, cond) if (cond) LPP_INTL::InternalLog(GlogSeverity::severity)
#define LOG_1(severity) LPP_INTL::InternalLog(LPP_INTL::GlogSeverity::severity)
#define DLOG_EVERY_T(severity, t) LPP_INTL::InternalPolicyLog<float>(LPP_GET_KEY(), t, toBase(LPP_INTL::GlogSeverity::DEBUG), LPP_INTL::PolicyType::TIMED)
#define LOG_EVERY_T(severity, t) LPP_INTL::InternalPolicyLog<float>(LPP_GET_KEY(), t, toBase(LPP_INTL::GlogSeverity::severity), LPP_INTL::PolicyType::TIMED)
#endif

#if defined MODE_LPP || defined MODE_DEFAULT
Expand Down

0 comments on commit 9109029

Please sign in to comment.