summaryrefslogtreecommitdiff
path: root/src/buildtool/common/artifact_digest.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/common/artifact_digest.hpp')
-rw-r--r--src/buildtool/common/artifact_digest.hpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buildtool/common/artifact_digest.hpp b/src/buildtool/common/artifact_digest.hpp
index d7683d60..93c41464 100644
--- a/src/buildtool/common/artifact_digest.hpp
+++ b/src/buildtool/common/artifact_digest.hpp
@@ -106,12 +106,6 @@ class ArtifactDigest final {
return std::nullopt;
}
- [[nodiscard]] auto operator<(ArtifactDigest const& other) const -> bool {
- return (hash_ < other.hash_) or
- ((hash_ == other.hash_) and (static_cast<int>(is_tree_) <
- static_cast<int>(other.is_tree_)));
- }
-
private:
std::size_t size_{};
std::string hash_{};