add a cmake option to switch between std and boost filesystem
This commit is contained in:
+1
-3
@@ -8,8 +8,6 @@
|
||||
#include "webcc/string.h"
|
||||
#include "webcc/utility.h"
|
||||
|
||||
namespace bfs = boost::filesystem;
|
||||
|
||||
namespace webcc {
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
@@ -194,7 +192,7 @@ FormPartPtr FormPart::New(const std::string& name, std::string&& data,
|
||||
return form_part;
|
||||
}
|
||||
|
||||
FormPartPtr FormPart::NewFile(const std::string& name, const bfs::path& path,
|
||||
FormPartPtr FormPart::NewFile(const std::string& name, const fs::path& path,
|
||||
const std::string& media_type) {
|
||||
auto form_part = std::make_shared<FormPart>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user