adapted filesystem library
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
#include <experimental/filesystem>
|
#include <boost/filesystem.hpp>
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
@@ -37,7 +37,7 @@ using namespace Poco::Util;
|
|||||||
using namespace Poco::JSON;
|
using namespace Poco::JSON;
|
||||||
using namespace Poco;
|
using namespace Poco;
|
||||||
|
|
||||||
namespace fs = std::experimental::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
|
||||||
FlippRServer::FlippRServer() :
|
FlippRServer::FlippRServer() :
|
||||||
help_requested(false),
|
help_requested(false),
|
||||||
@@ -210,7 +210,7 @@ std::string FlippRServer::create_directory(std::string file_name)
|
|||||||
fs::create_directory(path);
|
fs::create_directory(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
return path;
|
return path.string();
|
||||||
}
|
}
|
||||||
|
|
||||||
void FlippRServer::defineOptions(OptionSet& options)
|
void FlippRServer::defineOptions(OptionSet& options)
|
||||||
|
|||||||
Reference in New Issue
Block a user