switch back to boost::filesystem to avoid the requirement of c++17
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
#include "webcc/gzip.h"
|
||||
#endif
|
||||
|
||||
namespace bfs = boost::filesystem;
|
||||
|
||||
namespace webcc {
|
||||
|
||||
ResponsePtr ResponseBuilder::operator()() {
|
||||
@@ -43,7 +45,7 @@ ResponsePtr ResponseBuilder::operator()() {
|
||||
return response;
|
||||
}
|
||||
|
||||
ResponseBuilder& ResponseBuilder::File(const std::filesystem::path& path,
|
||||
ResponseBuilder& ResponseBuilder::File(const bfs::path& path,
|
||||
bool infer_media_type,
|
||||
std::size_t chunk_size) {
|
||||
body_.reset(new FileBody{ path, chunk_size });
|
||||
|
||||
Reference in New Issue
Block a user