remove std::filesystem usage to make old compilers happy

This commit is contained in:
John Sennesael 2022-03-24 19:20:00 -05:00
parent ec8f985f39
commit 8a85662ce4
1 changed files with 0 additions and 7 deletions

View File

@ -29,7 +29,6 @@
#include <unistd.h>
#include <cstdlib>
#include <filesystem>
#include <fstream>
#include <iostream>
#include <memory>
@ -260,12 +259,6 @@ bool justify(const Settings& settings)
}
else
{
if (!std::filesystem::exists(settings.inFile))
{
std::cerr << "Input file \"" << settings.inFile << "\" "
<< "not found." << std::endl;
return false;
}
try
{
inputFile.open(settings.inFile, std::ifstream::in);