summaryrefslogtreecommitdiffstats
path: root/mojo/shell
diff options
context:
space:
mode:
Diffstat (limited to 'mojo/shell')
-rw-r--r--mojo/shell/public/cpp/capabilities.h2
-rw-r--r--mojo/shell/public/cpp/lib/capabilities.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/mojo/shell/public/cpp/capabilities.h b/mojo/shell/public/cpp/capabilities.h
index 4ec4722..0b1b09a 100644
--- a/mojo/shell/public/cpp/capabilities.h
+++ b/mojo/shell/public/cpp/capabilities.h
@@ -23,6 +23,7 @@ using Name = std::string;
struct CapabilityRequest {
CapabilityRequest();
+ CapabilityRequest(const CapabilityRequest& other);
~CapabilityRequest();
bool operator==(const CapabilityRequest& other) const;
bool operator<(const CapabilityRequest& other) const;
@@ -32,6 +33,7 @@ struct CapabilityRequest {
struct CapabilitySpec {
CapabilitySpec();
+ CapabilitySpec(const CapabilitySpec& other);
~CapabilitySpec();
bool operator==(const CapabilitySpec& other) const;
bool operator<(const CapabilitySpec& other) const;
diff --git a/mojo/shell/public/cpp/lib/capabilities.cc b/mojo/shell/public/cpp/lib/capabilities.cc
index add9150..a132fe6 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 {
@@ -19,6 +20,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 {