summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/local/local_action.cpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:34:56 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-08 15:41:50 +0200
commitc9325cea0aa43f328644157dee4eafe3d7b45e6f (patch)
tree7c688b9cfd8acf45771193f41d69639f9a47dfab /src/buildtool/execution_api/local/local_action.cpp
parent0e024eb055e6e8272f419e898ae9eefd0085c34f (diff)
downloadjustbuild-c9325cea0aa43f328644157dee4eafe3d7b45e6f.tar.gz
Name local variables using lower_case
...and private members using lower_case_
Diffstat (limited to 'src/buildtool/execution_api/local/local_action.cpp')
-rw-r--r--src/buildtool/execution_api/local/local_action.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/execution_api/local/local_action.cpp b/src/buildtool/execution_api/local/local_action.cpp
index 85c0254b..c500afba 100644
--- a/src/buildtool/execution_api/local/local_action.cpp
+++ b/src/buildtool/execution_api/local/local_action.cpp
@@ -39,21 +39,21 @@ namespace {
class BuildCleanupAnchor {
public:
explicit BuildCleanupAnchor(std::filesystem::path build_path) noexcept
- : build_path{std::move(build_path)} {}
+ : build_path_{std::move(build_path)} {}
BuildCleanupAnchor(BuildCleanupAnchor const&) = delete;
BuildCleanupAnchor(BuildCleanupAnchor&&) = delete;
auto operator=(BuildCleanupAnchor const&) -> BuildCleanupAnchor& = delete;
auto operator=(BuildCleanupAnchor&&) -> BuildCleanupAnchor& = delete;
~BuildCleanupAnchor() {
- if (not FileSystemManager::RemoveDirectory(build_path, true)) {
+ if (not FileSystemManager::RemoveDirectory(build_path_, true)) {
Logger::Log(LogLevel::Error,
"Could not cleanup build directory {}",
- build_path.string());
+ build_path_.string());
}
}
private:
- std::filesystem::path const build_path;
+ std::filesystem::path const build_path_;
};
[[nodiscard]] auto CreateDigestFromLocalOwnedTree(