From 0e55299afbb5083bd85acaa5cb6d069fb6ded450 Mon Sep 17 00:00:00 2001 From: consti10 Date: Mon, 24 Jul 2023 09:21:17 +0200 Subject: [PATCH] fix comp after merge --- src/HelperSources/Helper.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/HelperSources/Helper.hpp b/src/HelperSources/Helper.hpp index d93acd48..10ce92ba 100644 --- a/src/HelperSources/Helper.hpp +++ b/src/HelperSources/Helper.hpp @@ -191,9 +191,9 @@ static std::vector findMissingIndices(const std::vector(dur); + const auto secs = std::chrono::duration_cast(dur); dur -= secs; - const auto us = duration_cast(dur); + const auto us = std::chrono::duration_cast(dur); return timeval{secs.count(), (long int)us.count()}; } }