Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1114)

Unified Diff: net/cert/merkle_audit_proof.cc

Issue 2017563002: Add Certificate Transparency logs auditing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing Ryan's two final comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/cert/merkle_audit_proof.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/merkle_audit_proof.cc
diff --git a/net/cert/merkle_audit_proof.cc b/net/cert/merkle_audit_proof.cc
index f1829af1f3ef89f32935ed7b1853cb1f7fd1fb71..92ead5acabe6b9c45e2dfa81fae48320141a7f1a 100644
--- a/net/cert/merkle_audit_proof.cc
+++ b/net/cert/merkle_audit_proof.cc
@@ -30,12 +30,14 @@ uint64_t CalculateAuditPathLength(uint64_t leaf_index, uint64_t tree_size) {
MerkleAuditProof::MerkleAuditProof() {}
+MerkleAuditProof::MerkleAuditProof(const MerkleAuditProof& other) = default;
+
MerkleAuditProof::MerkleAuditProof(uint64_t leaf_index,
uint64_t tree_size,
const std::vector<std::string>& audit_path)
: leaf_index(leaf_index), tree_size(tree_size), nodes(audit_path) {}
-MerkleAuditProof::~MerkleAuditProof() {}
+MerkleAuditProof::~MerkleAuditProof() = default;
} // namespace ct
} // namespace net
« no previous file with comments | « net/cert/merkle_audit_proof.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698