From 3c14bd1af203413058b1e6d36f34a2a116c868ac Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Thu, 4 Jul 2019 08:54:56 +0200 Subject: [PATCH] Fix for shadow issue in tests. --- test/filesystem_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/filesystem_test.cpp b/test/filesystem_test.cpp index 0f310f6..716e54e 100644 --- a/test/filesystem_test.cpp +++ b/test/filesystem_test.cpp @@ -2643,8 +2643,8 @@ TEST_CASE("Windows: UNC path support", "[filesystem][path][fs.path.win.unc]") R"(\\?\UNC\C$\Windows\notepad.exe)", R"(\\?\GLOBALROOT\Device\Mup\C$\Windows\notepad.exe)", }; - for (auto p : variants) { - std::cerr << p.string() << " - " << p.root_name() << ", " << p.root_path() << ": " << iterateResult(p) << std::endl; + for (auto pt : variants) { + std::cerr << pt.string() << " - " << pt.root_name() << ", " << pt.root_path() << ": " << iterateResult(pt) << std::endl; } } #endif