Skip to content

Commit

Permalink
[GCC] Unreviewed, build fix for Ubuntu 20.04 after 257521@main
Browse files Browse the repository at this point in the history
Constructors cannot be defaulted in GCC9.3.

* Source/WebCore/Modules/push-api/PushSubscriptionIdentifier.h:
(WebCore::PushSubscriptionSetIdentifier::operator== const):

Canonical link: https://commits.webkit.org/257655@main
  • Loading branch information
dpino committed Dec 10, 2022
1 parent 0a4279f commit 91e9772
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/WebCore/Modules/push-api/PushSubscriptionIdentifier.h
Expand Up @@ -39,7 +39,11 @@ struct PushSubscriptionSetIdentifier {
String pushPartition;
std::optional<UUID> dataStoreIdentifier;

bool operator==(const PushSubscriptionSetIdentifier&) const = default;
bool operator==(const PushSubscriptionSetIdentifier& other) const
{
return bundleIdentifier != other.bundleIdentifier && pushPartition != other.pushPartition
&& dataStoreIdentifier != other.dataStoreIdentifier;
};

PushSubscriptionSetIdentifier isolatedCopy() const &;
PushSubscriptionSetIdentifier isolatedCopy() &&;
Expand Down

0 comments on commit 91e9772

Please sign in to comment.