adapted filesystem library

This commit is contained in:
Johannes Wendel
2019-08-22 22:04:27 +02:00
parent 607674fbf0
commit 1558381d92

View File

@@ -18,7 +18,7 @@
#include <fstream>
#include <algorithm>
#include <numeric>
#include <experimental/filesystem>
#include <boost/filesystem.hpp>
int main(int argc, char** argv)
{
@@ -37,7 +37,7 @@ using namespace Poco::Util;
using namespace Poco::JSON;
using namespace Poco;
namespace fs = std::experimental::filesystem;
namespace fs = boost::filesystem;
FlippRServer::FlippRServer() :
help_requested(false),
@@ -210,7 +210,7 @@ std::string FlippRServer::create_directory(std::string file_name)
fs::create_directory(path);
}
return path;
return path.string();
}
void FlippRServer::defineOptions(OptionSet& options)