diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 11:59:11 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-08 15:41:50 +0200 |
commit | 6f03f36201fa79f3802f3235779ec5a451287e21 (patch) | |
tree | 40cd2a46e881be0d5cdbf4de215e8dcedee8ae33 /src/buildtool/file_system/file_system_manager.hpp | |
parent | a054488f8417a40e22c4e1e0f9738f705785aa9e (diff) | |
download | justbuild-6f03f36201fa79f3802f3235779ec5a451287e21.tar.gz |
Name static constants using kCamelCase.
Diffstat (limited to 'src/buildtool/file_system/file_system_manager.hpp')
-rw-r--r-- | src/buildtool/file_system/file_system_manager.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/file_system/file_system_manager.hpp b/src/buildtool/file_system/file_system_manager.hpp index 9dc16592..529c4064 100644 --- a/src/buildtool/file_system/file_system_manager.hpp +++ b/src/buildtool/file_system/file_system_manager.hpp @@ -1166,10 +1166,10 @@ class FileSystemManager { std::filesystem::file_status const& status) noexcept -> bool { try { namespace fs = std::filesystem; - static constexpr auto exec_flags = fs::perms::owner_exec bitor + static constexpr auto kExecFlags = fs::perms::owner_exec bitor fs::perms::group_exec bitor fs::perms::others_exec; - auto exec_perms = status.permissions() bitand exec_flags; + auto exec_perms = status.permissions() bitand kExecFlags; return exec_perms != fs::perms::none; } catch (std::exception const& e) { Logger::Log(LogLevel::Error, |