Skip to content

Commit

Permalink
Merge branch 'sadguitarius-fmt-v11-fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmoreno committed Sep 25, 2024
2 parents 84ecafb + d334ff8 commit e280c88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/rtpmidid/poller.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include <chrono>
#include <functional>
#include <optional>
#include <memory>

// #define DEBUG0 DEBUG
#define DEBUG0(...)
Expand Down
4 changes: 2 additions & 2 deletions include/rtpmidid/rtpclient.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ struct fmt::formatter<std::list<rtpmidid::rtpclient_t::endpoint_t>>
template <>
struct fmt::formatter<rtpmidid::rtpclient_t::state_e>
: formatter<fmt::string_view> {
auto format(const rtpmidid::rtpclient_t::state_e &data, format_context &ctx) {
auto format(rtpmidid::rtpclient_t::state_e &data, format_context &ctx) const {
const char *ret = rtpmidid::rtpclient_t::to_string(data);
return formatter<fmt::string_view>::format(ret, ctx);
}
Expand All @@ -153,7 +153,7 @@ struct fmt::formatter<rtpmidid::rtpclient_t::state_e>
template <>
struct fmt::formatter<rtpmidid::rtpclient_t::event_e>
: formatter<fmt::string_view> {
auto format(const rtpmidid::rtpclient_t::event_e &data, format_context &ctx) {
auto format(rtpmidid::rtpclient_t::event_e &data, format_context &ctx) const {
const char *ret = rtpmidid::rtpclient_t::to_string(data);
return formatter<fmt::string_view>::format(ret, ctx);
}
Expand Down
1 change: 1 addition & 0 deletions include/rtpmidid/signal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include <cstdint>
#include <functional>
#include <map>
#include <memory>

// #define DEBUG0 DEBUG
#define DEBUG0(...)
Expand Down

0 comments on commit e280c88

Please sign in to comment.