Remove boost dependency
[platform/core/appfw/app-installers.git] / src / common / step / pkgmgr / step_recover_application.cc
index e33090d..768aad9 100644 (file)
@@ -4,13 +4,13 @@
 
 #include "common/step/pkgmgr/step_recover_application.h"
 
-#include <boost/filesystem.hpp>
+#include <filesystem>
 
 #include "common/utils/paths.h"
 #include "common/utils/pkgmgr_query.h"
 #include "common/pkgmgr_registration.h"
 
-namespace bf = boost::filesystem;
+namespace fs = std::filesystem;
 
 namespace common_installer {
 namespace pkgmgr {
@@ -56,8 +56,8 @@ Step::Status StepRecoverApplication::RecoveryReadonlyUpdateInstall() {
 bool StepRecoverApplication::SetXmlPaths() {
   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";