summaryrefslogtreecommitdiff
path: root/src/buildtool/crypto/hash_info.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/crypto/hash_info.hpp')
-rw-r--r--src/buildtool/crypto/hash_info.hpp12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/buildtool/crypto/hash_info.hpp b/src/buildtool/crypto/hash_info.hpp
index dcfde884..dc40e7ca 100644
--- a/src/buildtool/crypto/hash_info.hpp
+++ b/src/buildtool/crypto/hash_info.hpp
@@ -65,21 +65,17 @@ class HashInfo final {
bool is_tree) noexcept
-> std::optional<std::pair<HashInfo, std::uintmax_t>>;
- [[nodiscard]] inline auto Hash() const& noexcept -> std::string const& {
+ [[nodiscard]] auto Hash() const& noexcept -> std::string const& {
return hash_;
}
- [[nodiscard]] inline auto Hash() && -> std::string {
- return std::move(hash_);
- }
+ [[nodiscard]] auto Hash() && -> std::string { return std::move(hash_); }
- [[nodiscard]] inline auto HashType() const noexcept -> HashFunction::Type {
+ [[nodiscard]] auto HashType() const noexcept -> HashFunction::Type {
return hash_type_;
}
- [[nodiscard]] inline auto IsTree() const noexcept -> bool {
- return is_tree_;
- }
+ [[nodiscard]] auto IsTree() const noexcept -> bool { return is_tree_; }
[[nodiscard]] auto operator==(HashInfo const& other) const noexcept -> bool;