projects
/
platform
/
core
/
appfw
/
app-installers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove boost dependency
[platform/core/appfw/app-installers.git]
/
src
/
common
/
external_mount.cc
diff --git
a/src/common/external_mount.cc
b/src/common/external_mount.cc
index
525bbc4
..
332b514
100644
(file)
--- a/
src/common/external_mount.cc
+++ b/
src/common/external_mount.cc
@@
-7,13
+7,12
@@
#include <app2ext_interface.h>
#include <manifest_parser/utils/logging.h>
#include <app2ext_interface.h>
#include <manifest_parser/utils/logging.h>
-#include <boost/filesystem/operations.hpp>
-#include <boost/filesystem/path.hpp>
+#include <filesystem>
#include "common/utils/pkgmgr_query.h"
#include "common/utils/paths.h"
#include "common/utils/pkgmgr_query.h"
#include "common/utils/paths.h"
-namespace
bf = boost
::filesystem;
+namespace
fs = std
::filesystem;
namespace common_installer {
namespace common_installer {
@@
-34,8
+33,8
@@
ExternalMount::~ExternalMount() {
}
bool ExternalMount::IsAvailable() const {
}
bool ExternalMount::IsAvailable() const {
-
bf
::path storage_path = GetExternalCardPath();
- if (!
bf
::exists(storage_path)) {
+
fs
::path storage_path = GetExternalCardPath();
+ if (!
fs
::exists(storage_path)) {
LOG(WARNING) << "External storage (SD Card) is not mounted.";
return false;
}
LOG(WARNING) << "External storage (SD Card) is not mounted.";
return false;
}