Skip to content

Commit

Permalink
fix (clang-format): Reformat everything
Browse files Browse the repository at this point in the history
  • Loading branch information
cvonelm committed Feb 12, 2025
1 parent cee6c02 commit 1988a1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/lo2s/monitor/poll_monitor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class PollMonitor : public ThreadedMonitor

void add_fd(int fd);

virtual void monitor([[maybe_unused]] int fd){};
virtual void monitor([[maybe_unused]] int fd) {};

struct pollfd& stop_pfd()
{
Expand Down
5 changes: 1 addition & 4 deletions src/perf/event_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,7 @@ extern "C"

namespace
{
#define PERF_EVENT(name, type, id) \
{ \
(name), (type), (id) \
}
#define PERF_EVENT(name, type, id) { (name), (type), (id) }
#define PERF_EVENT_HW(name, id) PERF_EVENT(name, PERF_TYPE_HARDWARE, PERF_COUNT_HW_##id)
#define PERF_EVENT_SW(name, id) PERF_EVENT(name, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_##id)

Expand Down

0 comments on commit 1988a1d

Please sign in to comment.