adapted filesystem library
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user