diff options
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 |
commit | 510037b064fd5a9bc4f9c6516b55c1787709c62d (patch) | |
tree | 4af8d3173001d97f67314642e0b86862e041bd7f /services/incremental/IncrementalService.cpp | |
parent | 1e52a093ae88a972be0a61863c9d21c75d006095 (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/IncrementalService.cpp')
-rw-r--r-- | services/incremental/IncrementalService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/incremental/IncrementalService.cpp b/services/incremental/IncrementalService.cpp index dc05cb69d4c5..a6c45cc6c26f 100644 --- a/services/incremental/IncrementalService.cpp +++ b/services/incremental/IncrementalService.cpp @@ -1395,7 +1395,7 @@ bool IncrementalService::configureNativeBinaries(StorageId storage, std::string_ auto startFileTs = Clock::now(); const auto libName = path::basename(fileName); - const auto targetLibPath = path::join(libDirRelativePath, libName); + auto targetLibPath = path::join(libDirRelativePath, libName); const auto targetLibPathAbsolute = normalizePathToStorage(*ifs, storage, targetLibPath); // If the extract file already exists, skip if (access(targetLibPathAbsolute.c_str(), F_OK) == 0) { |