Skip to content

Commit

Permalink
Fix sensors support
Browse files Browse the repository at this point in the history
  • Loading branch information
cvonelm committed Sep 15, 2023
1 parent bd750e9 commit 9d239e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/lo2s/metric/sensors/recorder.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class Recorder : public monitor::PollMonitor
~Recorder();

protected:
void monitor(int fd) override;
void monitor(WeakFd fd) override;

std::string group() const override
{
Expand Down
2 changes: 1 addition & 1 deletion src/metric/sensors/recorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Recorder::Recorder(trace::Trace& trace)
event_ = std::make_unique<otf2::event::metric>(otf2::chrono::genesis(), metric_instance_);
}

void Recorder::monitor([[maybe_unused]] int fd)
void Recorder::monitor([[maybe_unused]] WeakFd fd)
{
// update timestamp
event_->timestamp(time::now());
Expand Down

0 comments on commit 9d239e9

Please sign in to comment.