From 6ef6cc001ecef5c38c821613794d63f4f233f8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Hern=C3=A1ndez=20Cordero?= Date: Fri, 26 Jul 2024 13:56:57 +0200 Subject: [PATCH] Updated deprecated rcpputils::path (#1014) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alejandro Hernández Cordero --- image_proc/test/rostest.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/image_proc/test/rostest.cpp b/image_proc/test/rostest.cpp index f84594af0..633a63cfa 100644 --- a/image_proc/test/rostest.cpp +++ b/image_proc/test/rostest.cpp @@ -32,6 +32,7 @@ #include +#include #include #include @@ -65,9 +66,9 @@ class ImageProcTest topic_color = camera_ns + "image_color"; topic_rect_color = camera_ns + "image_rect_color"; - const rcpputils::fs::path base{_SRC_RESOURCES_DIR_PATH}; - const rcpputils::fs::path raw_image_file = base / "logo.png"; - const rcpputils::fs::path cam_info_file = base / "calibration_file.ini"; + const std::filesystem::path base{_SRC_RESOURCES_DIR_PATH}; + const std::filesystem::path raw_image_file = base / "logo.png"; + const std::filesystem::path cam_info_file = base / "calibration_file.ini"; /// @todo Test variety of encodings for raw image (bayer, mono, color) cv::Mat img = cv::imread(raw_image_file.string(), 0);