Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / recovery / step_create_recovery_file.cc
index ee515b0..f2e139c 100644 (file)
@@ -4,14 +4,13 @@
 
 #include "common/step/recovery/step_create_recovery_file.h"
 
-#include <boost/filesystem/path.hpp>
-
 #include <pkgmgr-info.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <unistd.h>
 #include <tzplatform_config.h>
 
+#include <filesystem>
 #include <memory>
 #include <string>
 #include <utility>
 #include "common/utils/request.h"
 #include "common/recovery_file.h"
 
-namespace bf = boost::filesystem;
+namespace fs = std::filesystem;
 
 namespace common_installer {
 namespace recovery {
 
 Step::Status StepCreateRecoveryFile::process() {
-  bf::path recovery_filename = context_->recovery_info.get().filepath;
+  fs::path recovery_filename = context_->recovery_info.get().filepath;
 
   if (recovery_filename.empty()) {
     std::string file_format = context_->pkg_type.get() + "-recovery";