Skip to content

Commit

Permalink
fix comp after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Jul 24, 2023
1 parent 4938104 commit 0e55299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HelperSources/Helper.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ static std::vector<unsigned int> findMissingIndices(const std::vector<unsigned i
return indicesMissing;
}
static constexpr timeval durationToTimeval(std::chrono::nanoseconds dur) {
const auto secs = duration_cast<std::chrono::seconds>(dur);
const auto secs = std::chrono::duration_cast<std::chrono::seconds>(dur);
dur -= secs;
const auto us = duration_cast<std::chrono::microseconds>(dur);
const auto us = std::chrono::duration_cast<std::chrono::microseconds>(dur);
return timeval{secs.count(), (long int)us.count()};
}
}
Expand Down

0 comments on commit 0e55299

Please sign in to comment.