From c40bd45b3292aff66ffdbdd51739c250ed3fd53b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Mon, 22 Jul 2024 10:31:32 +0200 Subject: [PATCH] Updated deprecated API (#117) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- rcl_logging_spdlog/test/test_logging_interface.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rcl_logging_spdlog/test/test_logging_interface.cpp b/rcl_logging_spdlog/test/test_logging_interface.cpp index 2f911a0..272e1f7 100644 --- a/rcl_logging_spdlog/test/test_logging_interface.cpp +++ b/rcl_logging_spdlog/test/test_logging_interface.cpp @@ -107,7 +107,8 @@ class LoggingTest : public ::testing::Test { allocator = rcutils_get_default_allocator(); orig_ros_log_dir_value_ = rcpputils::get_env_var("ROS_LOG_DIR"); - rcpputils::fs::path log_dir = rcpputils::fs::create_temp_directory("rcl_logging_spdlog"); + std::filesystem::path log_dir = rcpputils::fs::create_temporary_directory( + "rcl_logging_spdlog"); local_log_dir_ = log_dir.string();