diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2021-12-11 16:43:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-11 16:43:05 +0100 |
commit | e7b44e8b171cfb22488f9ee49e9a0446c07369f6 (patch) | |
tree | 5a66fdf36b961315294942f7198b71c96243b32a | |
parent | ad5633898187c19f40f45b17eaa400b507251273 (diff) | |
parent | ca36f9aa997b611410668b5d4f99484380e1ce88 (diff) |
Merge pull request #20469 from vespa-engine/toregge/backport-to-gcc-9-no-default-equal
gcc 9 has no default operator==.
-rw-r--r-- | storage/src/vespa/storage/distributor/node_supported_features.h | 4 |
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; + }; }; } |