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

Unified Diff: mojo/shell/public/cpp/lib/capabilities.cc

Issue 1825273002: Add more out of line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mojo/shell/public/cpp/capabilities.h ('k') | net/cert/signed_tree_head.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/public/cpp/lib/capabilities.cc
diff --git a/mojo/shell/public/cpp/lib/capabilities.cc b/mojo/shell/public/cpp/lib/capabilities.cc
index cc3fc1801941e4247f72af77f56bbacd268a16b7..26b42cb8f5d5b4f925244e28e5c0b2b9bda56af7 100644
--- a/mojo/shell/public/cpp/lib/capabilities.cc
+++ b/mojo/shell/public/cpp/lib/capabilities.cc
@@ -7,6 +7,7 @@
namespace mojo {
CapabilityRequest::CapabilityRequest() {}
+CapabilityRequest::CapabilityRequest(const CapabilityRequest& other) = default;
CapabilityRequest::~CapabilityRequest() {}
bool CapabilityRequest::operator==(const CapabilityRequest& other) const {
@@ -14,6 +15,7 @@ bool CapabilityRequest::operator==(const CapabilityRequest& other) const {
}
CapabilitySpec::CapabilitySpec() {}
+CapabilitySpec::CapabilitySpec(const CapabilitySpec& other) = default;
CapabilitySpec::~CapabilitySpec() {}
bool CapabilitySpec::operator==(const CapabilitySpec& other) const {
« no previous file with comments | « mojo/shell/public/cpp/capabilities.h ('k') | net/cert/signed_tree_head.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698