Skip to content

Commit 46cb004

Browse files
committed
Update remove_file() usages.
1 parent 9e60325 commit 46cb004

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/common/config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void Config::clear_vars_cache() const
285285
{
286286
if (!fs::is_regular_file(f))
287287
continue;
288-
remove_file(f);
288+
primitives::filesystem::remove_file(f);
289289
}
290290
}
291291

src/printers/cmake.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ void CMakePrinter::prepare_rebuild() const
11501150
continue;
11511151
if (f.path().filename().string() != cppan_stamp_filename)
11521152
continue;
1153-
remove_file(f);
1153+
primitives::filesystem::remove_file(f);
11541154
}
11551155
}
11561156
}
@@ -1492,7 +1492,7 @@ void CMakePrinter::clear_cache() const
14921492
continue;
14931493

14941494
auto fn = fc.path() / "CMakeCache.txt";
1495-
remove_file(fn);
1495+
primitives::filesystem::remove_file(fn);
14961496
}
14971497
}
14981498

0 commit comments

Comments
 (0)