From 56b7f91361d3cbd47cd629193722fc913f70e5a7 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Wed, 29 Nov 2023 14:25:24 -0500 Subject: [PATCH] Format the std::filesystem path directly --- qa/tests/pcbnew/test_prettifier.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/tests/pcbnew/test_prettifier.cpp b/qa/tests/pcbnew/test_prettifier.cpp index 0f294bc592..6277b31c64 100644 --- a/qa/tests/pcbnew/test_prettifier.cpp +++ b/qa/tests/pcbnew/test_prettifier.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -56,7 +57,7 @@ BOOST_FIXTURE_TEST_CASE( FootprintPrettifier, PRETTIFIER_TEST_FIXTURE ) PCB_PLUGIN plugin; std::string tempLibPath = fmt::format( "{}/prettifier.pretty", - std::filesystem::temp_directory_path().generic_string() ); + std::filesystem::temp_directory_path() ); std::filesystem::remove_all( tempLibPath ); std::filesystem::create_directory( tempLibPath );