summaryrefslogtreecommitdiffstats
path: root/include/raul/Semaphore.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/raul/Semaphore.hpp')
-rw-r--r--include/raul/Semaphore.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/raul/Semaphore.hpp b/include/raul/Semaphore.hpp
index 75d0a62..c9ce024 100644
--- a/include/raul/Semaphore.hpp
+++ b/include/raul/Semaphore.hpp
@@ -252,7 +252,7 @@ Semaphore::timed_wait(const std::chrono::duration<Rep, Period>& wait)
const auto now(chr::seconds(time.tv_sec) + chr::nanoseconds(time.tv_nsec));
const auto end(now + wait);
- const chr::seconds end_sec(chr::duration_cast<chr::seconds>(end));
+ const chr::seconds end_sec(chr::duration_cast<chr::seconds>(end));
const chr::nanoseconds end_nsec(end - end_sec);
const timespec ts_end = {static_cast<time_t>(end_sec.count()),