summaryrefslogtreecommitdiff
path: root/src/buildtool/common/protocol_traits.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/protocol_traits.hpp')
-rw-r--r--src/buildtool/common/protocol_traits.hpp6
1 files changed, 3 insertions, 3 deletions
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);
}
};