Skip to content

Commit

Permalink
Default equalitator
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton committed Dec 4, 2024
1 parent 56b506b commit 34c72ec
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/node/identity.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ namespace ccf
ccf::crypto::Pem priv_key;
ccf::crypto::Pem cert;

bool operator==(const NetworkIdentity& other) const
{
return cert == other.cert && priv_key == other.priv_key;
}
bool operator==(const NetworkIdentity& other) const = default;

NetworkIdentity(
const std::string& subject_name,
Expand Down

0 comments on commit 34c72ec

Please sign in to comment.