replace fs alias with std::filesystem
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9072353526c2c18453aa97dc6f9c5d610508609a
diff --git a/test/debug_inif_test.cpp b/test/debug_inif_test.cpp
index 98a0e1d..1dfcf66 100644
--- a/test/debug_inif_test.cpp
+++ b/test/debug_inif_test.cpp
@@ -10,8 +10,6 @@
#include <gtest/gtest.h>
-namespace fs = std::filesystem;
-
class TestDumpSerial : public ::testing::Test
{
public:
@@ -28,17 +26,17 @@
throw std::bad_alloc();
}
dumpDir = std::string(dirPtr);
- fs::create_directories(dumpDir);
+ std::filesystem::create_directories(dumpDir);
dumpFile = dumpDir;
dumpFile /= "elogid";
}
void TearDown()
{
- fs::remove_all(dumpDir);
+ std::filesystem::remove_all(dumpDir);
}
std::string dumpDir;
- fs::path dumpFile;
+ std::filesystem::path dumpFile;
};
TEST_F(TestDumpSerial, Serialization)