summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-07-11 17:10:50 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-07-12 15:43:37 +0200
commit711f341fc50cc90906d294f7d027ff8555d92d57 (patch)
tree6dd2710731af76abfd4150010759ba52daf0f93c /src
parent1e1758e8c30d30df0ebeefbada1e5a8f74d8a350 (diff)
downloadjustbuild-711f341fc50cc90906d294f7d027ff8555d92d57.tar.gz
Use precalculated hash for comparison of ArtifactDescriptions
...instead of comparing raw data.
Diffstat (limited to 'src')
-rw-r--r--src/buildtool/common/artifact_description.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/common/artifact_description.hpp b/src/buildtool/common/artifact_description.hpp
index 84845ed2..53d3adcc 100644
--- a/src/buildtool/common/artifact_description.hpp
+++ b/src/buildtool/common/artifact_description.hpp
@@ -76,7 +76,7 @@ class ArtifactDescription final {
[[nodiscard]] auto operator==(
ArtifactDescription const& other) const noexcept -> bool {
- return data_ == other.data_;
+ return id_ == other.id_;
}
[[nodiscard]] auto operator!=(