Skip to content

Commit

Permalink
Add missing std::
Browse files Browse the repository at this point in the history
Signed-off-by: Elviss Strazdins <elviss@elviss.lv>
  • Loading branch information
elnormous committed May 19, 2021
1 parent 2fe405d commit 3c0c9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fastrtps/utils/TimedMutex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class TimedMutex
bool try_lock_for(
const std::chrono::duration<Rep, Period>& rel_time)
{
return try_lock_until(chrono::steady_clock::now() + rel_time);
return try_lock_until(std::chrono::steady_clock::now() + rel_time);
}

template <class Clock, class Duration>
Expand Down Expand Up @@ -139,7 +139,7 @@ class RecursiveTimedMutex
bool try_lock_for(
const std::chrono::duration<Rep, Period>& rel_time)
{
return try_lock_until(chrono::steady_clock::now() + rel_time);
return try_lock_until(std::chrono::steady_clock::now() + rel_time);
}

template <class Clock, class Duration>
Expand Down

0 comments on commit 3c0c9c8

Please sign in to comment.