switch back to boost::filesystem to avoid the requirement of c++17

This commit is contained in:
Chunting Gu
2020-09-07 19:01:31 +08:00
parent e7f88da2b2
commit 84476f75f7
31 changed files with 175 additions and 192 deletions
+5 -3
View File
@@ -1,10 +1,12 @@
#ifndef WEBCC_PARSER_H_
#define WEBCC_PARSER_H_
#include <filesystem>
#include <fstream>
#include <string>
#include "boost/filesystem/fstream.hpp"
#include "boost/filesystem/path.hpp"
#include "webcc/common.h"
#include "webcc/globals.h"
@@ -82,8 +84,8 @@ public:
private:
std::size_t streamed_size_ = 0;
std::ofstream ofstream_;
std::filesystem::path temp_path_;
boost::filesystem::ofstream ofstream_;
boost::filesystem::path temp_path_;
};
// -----------------------------------------------------------------------------