mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-20 18:19:20 +02:00
merge manul
This commit is contained in:
@@ -402,8 +402,7 @@ extract_value( bool &Variable, std::string const &Key, std::string const &Input,
|
||||
}
|
||||
|
||||
bool FileExists( std::string const &Filename ) {
|
||||
std::ifstream file( Filename );
|
||||
return( true == file.is_open() );
|
||||
return std::filesystem::exists(Filename);
|
||||
}
|
||||
|
||||
std::pair<std::string, std::string>
|
||||
|
||||
Reference in New Issue
Block a user