From 3c0c9c8ab009fc8ceba3378515f51bbb7473aaa9 Mon Sep 17 00:00:00 2001 From: Elviss Strazdins Date: Wed, 19 May 2021 03:40:04 +0300 Subject: [PATCH] Add missing std:: Signed-off-by: Elviss Strazdins --- include/fastrtps/utils/TimedMutex.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fastrtps/utils/TimedMutex.hpp b/include/fastrtps/utils/TimedMutex.hpp index d5b15dcde02..f412bb3270b 100644 --- a/include/fastrtps/utils/TimedMutex.hpp +++ b/include/fastrtps/utils/TimedMutex.hpp @@ -70,7 +70,7 @@ class TimedMutex bool try_lock_for( const std::chrono::duration& rel_time) { - return try_lock_until(chrono::steady_clock::now() + rel_time); + return try_lock_until(std::chrono::steady_clock::now() + rel_time); } template @@ -139,7 +139,7 @@ class RecursiveTimedMutex bool try_lock_for( const std::chrono::duration& rel_time) { - return try_lock_until(chrono::steady_clock::now() + rel_time); + return try_lock_until(std::chrono::steady_clock::now() + rel_time); } template