From 030af3e7af210617df00bf850476df6b46fb004d Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Mon, 30 Sep 2024 16:16:20 +0200 Subject: Enable readability-* checks. --- src/buildtool/common/protocol_traits.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/buildtool/common/protocol_traits.hpp') diff --git a/src/buildtool/common/protocol_traits.hpp b/src/buildtool/common/protocol_traits.hpp index ce596edb..eca2a807 100644 --- a/src/buildtool/common/protocol_traits.hpp +++ b/src/buildtool/common/protocol_traits.hpp @@ -19,13 +19,13 @@ class ProtocolTraits final { public: - inline static constexpr auto IsNative(HashFunction::Type hash_type) noexcept + static constexpr auto IsNative(HashFunction::Type hash_type) noexcept -> bool { return hash_type == HashFunction::Type::GitSHA1; } - inline static constexpr auto IsTreeAllowed( - HashFunction::Type hash_type) noexcept -> bool { + static constexpr auto IsTreeAllowed(HashFunction::Type hash_type) noexcept + -> bool { return IsNative(hash_type); } }; -- cgit v1.2.3