Skip to content

Commit

Permalink
format'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Jul 24, 2024
1 parent 5af1496 commit c009565
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/sensors/core/tasks/read_sensor_board_rev_task.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ class ReadSensorBoardHandler {
-> ReadSensorBoardHandler & = delete;
auto operator=(const ReadSensorBoardHandler &&)
-> ReadSensorBoardHandler && = delete;
~ReadSensorBoardHandler() {}
~ReadSensorBoardHandler() = default;

void handle_message(const TaskMessage &m) {
std::visit([this](auto o) { this->visit(o); }, m);
}

utils::SensorBoardRev get_rev() { return rev; }
auto get_rev() -> utils::SensorBoardRev { return rev; }

private:
void visit(const std::monostate &) {}
Expand Down

0 comments on commit c009565

Please sign in to comment.