From 6f03f36201fa79f3802f3235779ec5a451287e21 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 8 Oct 2024 11:59:11 +0200 Subject: Name static constants using kCamelCase. --- src/buildtool/file_system/file_system_manager.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buildtool/file_system/file_system_manager.hpp') 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, -- cgit v1.2.3