diff --git a/src/tl/unit_tests/tlIncludeTests.cc b/src/tl/unit_tests/tlIncludeTests.cc index cad6fc58e..efa6e8f04 100644 --- a/src/tl/unit_tests/tlIncludeTests.cc +++ b/src/tl/unit_tests/tlIncludeTests.cc @@ -28,8 +28,8 @@ static std::string np (const std::string &s) { - return tl::replaced (s, "\\\\", "/"); - return tl::replaced (s, "\\", "/"); + std::string t = tl::replaced (s, "\\\\", "/"); + return tl::replaced (t, "\\", "/"); } TEST(1_simple)