Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / pkgmgr / step_recover_parser_plugins.cc
index 4d221cc..4513ae9 100644 (file)
@@ -6,14 +6,14 @@
 
 #include <pkgmgr-info.h>
 
-#include <boost/filesystem/path.hpp>
+#include <filesystem>
 
 #include "common/plugins/plugin.h"
 #include "common/step/pkgmgr/step_run_parser_plugins.h"
 #include "common/utils/paths.h"
 
-namespace bf = boost::filesystem;
 namespace ci = common_installer;
+namespace fs = std::filesystem;
 
 namespace {
 
@@ -73,8 +73,8 @@ Step::Status StepRecoverParserPlugin::RecoverPlugin() {
 bool StepRecoverParserPlugin::SetXmlPath() {
   if (context_->pkgid.get().empty())
     return false;
-  bf::path xml_path =
-      bf::path(getUserManifestPath(context_->uid.get(),
+  fs::path xml_path =
+      fs::path(getUserManifestPath(context_->uid.get(),
           context_->is_readonly_package.get()))
       / context_->pkgid.get();
   xml_path += ".xml";