aboutsummaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2021-12-11 15:57:47 +0100
committerTor Egge <Tor.Egge@online.no>2021-12-11 15:57:47 +0100
commitca36f9aa997b611410668b5d4f99484380e1ce88 (patch)
treef1cf77b3f6b0da73465dba6788177f8341228ced /storage
parent0848eb7384b5ee31442c5102c60363bc1190804a (diff)
gcc 9 has no default operator==.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/node_supported_features.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/node_supported_features.h b/storage/src/vespa/storage/distributor/node_supported_features.h
index fb9cc68e970..647e063f93e 100644
--- a/storage/src/vespa/storage/distributor/node_supported_features.h
+++ b/storage/src/vespa/storage/distributor/node_supported_features.h
@@ -13,7 +13,9 @@ namespace storage::distributor {
struct NodeSupportedFeatures {
bool unordered_merge_chaining = false;
- bool operator==(const NodeSupportedFeatures&) const noexcept = default;
+ bool operator==(const NodeSupportedFeatures& rhs) const noexcept {
+ return unordered_merge_chaining == rhs.unordered_merge_chaining;
+ };
};
}