X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcommon%2Futils%2Fmanifest_util.cc;h=9f709bcfcf98b4e5ce93e21284f74bde7597accb;hb=bc819e6bce3bc061383b27e476882aa3babb48c6;hp=23b81e58b24272055bd588307ca35a7b6573889b;hpb=b04cf9b96466d8ff66692a8e5d84a440bc9366f3;p=platform%2Fcore%2Fappfw%2Fapp-installers.git diff --git a/src/common/utils/manifest_util.cc b/src/common/utils/manifest_util.cc index 23b81e5..9f709bc 100644 --- a/src/common/utils/manifest_util.cc +++ b/src/common/utils/manifest_util.cc @@ -9,12 +9,12 @@ #include #include -#include +#include #include #include "common/utils/pkgmgr_query.h" -namespace bf = boost::filesystem; +namespace fs = std::filesystem; namespace { @@ -61,7 +61,7 @@ int PkgmgrAppInfoCallback(const pkgmgrinfo_appinfo_h handle, namespace common_installer { -bf::path GetManifestLocation(const std::string& pkgid, +fs::path GetManifestLocation(const std::string& pkgid, uid_t uid, bool is_readonly) { PkgQueryInterface pkg_query(pkgid, uid); @@ -69,8 +69,8 @@ bf::path GetManifestLocation(const std::string& pkgid, uid = tzplatform_getuid(TZ_SYS_GLOBALAPP_USER); is_readonly = pkg_query.IsReadonlyPackage(); } - bf::path xml_path = bf::path(getUserManifestPath(uid, is_readonly)) - / bf::path(pkgid.c_str()); + fs::path xml_path = fs::path(getUserManifestPath(uid, is_readonly)) + / fs::path(pkgid.c_str()); xml_path += ".xml"; return xml_path;