summaryrefslogtreecommitdiff
path: root/services/incremental/ServiceWrappers.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2020-04-22 15:46:21 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2020-04-22 22:34:24 -0700
commit510037b064fd5a9bc4f9c6516b55c1787709c62d (patch)
tree4af8d3173001d97f67314642e0b86862e041bd7f /services/incremental/ServiceWrappers.cpp
parent1e52a093ae88a972be0a61863c9d21c75d006095 (diff)
[cleanup] Enable clang-tidy and fix warnings
Moving out of a const variable doesn't really work, apparently Bug: 153704006 Test: builds & boots Change-Id: Id7322f7045c08a20d72dda50808c0be427064cdd
Diffstat (limited to 'services/incremental/ServiceWrappers.cpp')
-rw-r--r--services/incremental/ServiceWrappers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/incremental/ServiceWrappers.cpp b/services/incremental/ServiceWrappers.cpp
index 32aa849c03b9..1e8c3a1f814b 100644
--- a/services/incremental/ServiceWrappers.cpp
+++ b/services/incremental/ServiceWrappers.cpp
@@ -36,7 +36,7 @@ static constexpr auto kDataLoaderManagerName = "dataloader_manager"sv;
class RealVoldService : public VoldServiceWrapper {
public:
- RealVoldService(const sp<os::IVold> vold) : mInterface(std::move(vold)) {}
+ RealVoldService(sp<os::IVold> vold) : mInterface(std::move(vold)) {}
~RealVoldService() = default;
binder::Status mountIncFs(
const std::string& backingPath, const std::string& targetDir, int32_t flags,