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

Unified Diff: components/metrics/leak_detector/leak_detector_impl.cc

Issue 1869063004: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
Index: components/metrics/leak_detector/leak_detector_impl.cc
diff --git a/components/metrics/leak_detector/leak_detector_impl.cc b/components/metrics/leak_detector/leak_detector_impl.cc
index edde53b3cac77051d3b4d8953e00b29cea890397..e174cc20cc855ca017a261fbf1c3f70e95ea0d58 100644
--- a/components/metrics/leak_detector/leak_detector_impl.cc
+++ b/components/metrics/leak_detector/leak_detector_impl.cc
@@ -60,6 +60,8 @@ size_t IndexToSize(size_t index) {
LeakDetectorImpl::LeakReport::LeakReport() : alloc_size_bytes_(0) {}
+LeakDetectorImpl::LeakReport::LeakReport(const LeakReport& other) = default;
+
LeakDetectorImpl::LeakReport::~LeakReport() {}
bool LeakDetectorImpl::LeakReport::operator<(const LeakReport& other) const {
« no previous file with comments | « components/metrics/leak_detector/leak_detector_impl.h ('k') | components/safe_browsing_db/v4_protocol_manager_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698