remove std::filesystem usage to make old compilers happy
This commit is contained in:
parent
ec8f985f39
commit
8a85662ce4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue