Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
TrentHouliston committed Aug 9, 2024
1 parent 489e9f3 commit 238bf4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/util/Sleeper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ namespace util {
Sleeper::Sleeper() : sleeper(std::make_unique<SleeperImpl>()) {}

// This must be in the .cpp file as we need the full definition of SleeperImpl
Sleeper::~Sleeper() noexcept = default;
Sleeper::Sleeper(Sleeper&&) noexcept = default;
Sleeper& Sleeper::operator=(Sleeper&&) = default;
Sleeper::~Sleeper() = default;
Sleeper::Sleeper(Sleeper&&) noexcept = default;
Sleeper& Sleeper::operator=(Sleeper&&) noexcept = default;

void NUClear::util::Sleeper::sleep_for(const std::chrono::nanoseconds& duration) {
sleep_until(std::chrono::steady_clock::now() + duration);
Expand Down

0 comments on commit 238bf4c

Please sign in to comment.