From 6663118e2abdb1d2b7834b1e4e7dd641a4bb17fe Mon Sep 17 00:00:00 2001 From: Duke Date: Sun, 21 Jan 2024 22:47:46 -0500 Subject: [PATCH] Use std::remove instead of std::filesystem::remove which is only available in C++17 --- src/Ramhash/src/lxrhash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Ramhash/src/lxrhash.cpp b/src/Ramhash/src/lxrhash.cpp index bf26f4789..83b4df667 100644 --- a/src/Ramhash/src/lxrhash.cpp +++ b/src/Ramhash/src/lxrhash.cpp @@ -147,7 +147,7 @@ bool LXRHash::load() if (check() != checksum) // Then check that the checksum is correct { // printf("checksum mismatch l:%llx != cs:%llx\n", cs, checksum); - std::filesystem::remove("byteMap.dat"); // Remove the bad file + std::remove("byteMap.dat"); // Remove the bad file return (false); // Return fail } // return true; // If so, all good, don't need to regenerate the byteMap