diff --git a/apps/niftest/niftest.cpp b/apps/niftest/niftest.cpp index 8f8f9c979e..4a13e56e80 100644 --- a/apps/niftest/niftest.cpp +++ b/apps/niftest/niftest.cpp @@ -1,6 +1,7 @@ ///Program to test .nif files both on the FileSystem and in BSA archives. #include +#include #include #include @@ -10,11 +11,9 @@ #include #include -#include // Create local aliases for brevity namespace bpo = boost::program_options; -namespace bfs = boost::filesystem; ///See if the file has the named extension bool hasExtension(std::string filename, std::string extensionToFind) @@ -138,7 +137,7 @@ int main(int argc, char **argv) // std::cout << "Reading BSA File: " << name << std::endl; readVFS(new VFS::BsaArchive(name)); } - else if(bfs::is_directory(bfs::path(name))) + else if(std::filesystem::is_directory(std::filesystem::path(name))) { // std::cout << "Reading All Files in: " << name << std::endl; readVFS(new VFS::FileSystemArchive(name),name);