mirror of
https://github.com/PurpleI2P/i2pd-tools.git
synced 2025-08-07 17:59:30 +01:00
swithed to C++17 and std::filesystem
This commit is contained in:
parent
309690575f
commit
8fdec1f30f
3 changed files with 4 additions and 4 deletions
4
vain.cpp
4
vain.cpp
|
@ -2,7 +2,7 @@
|
|||
#include<regex>
|
||||
#include<getopt.h>
|
||||
#include<string>
|
||||
#include<boost/filesystem.hpp>
|
||||
#include<filesystem>
|
||||
//#include<boost/algorithm/string/predicate.hpp>
|
||||
//#include<format> // is not supports for me
|
||||
|
||||
|
@ -428,7 +428,7 @@ int main (int argc, char * argv[])
|
|||
options.outputpath = options.outputpath + std::to_string(foundKeys) + std::string(".dat");
|
||||
foundKeys++;
|
||||
//printf("foundKeys = %d\n", foundKeys);
|
||||
}while( boost::filesystem::exists(options.outputpath) );
|
||||
}while( std::filesystem::exists(options.outputpath) );
|
||||
//puts("do while cycle break");
|
||||
//if ( ! boost::algorithm::ends_with(options.outputpath, ".dat") )
|
||||
// options.outputpath = options.outputpath + ".dat";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue