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

Unified Diff: chromeos/printing/printer_configuration.cc

Issue 2343063004: Enable copy and assignment for Printer objects. (Closed)
Patch Set: Created 4 years, 3 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 | « chromeos/printing/printer_configuration.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/printing/printer_configuration.cc
diff --git a/chromeos/printing/printer_configuration.cc b/chromeos/printing/printer_configuration.cc
index 35b9aa4f0bfef8d29825843218ac53a0401a2e1b..2eb7bf91c63d0d8c870e3aa6d99e78b62f4519bf 100644
--- a/chromeos/printing/printer_configuration.cc
+++ b/chromeos/printing/printer_configuration.cc
@@ -12,6 +12,10 @@ Printer::Printer() {}
Printer::Printer(const std::string& id) : id_(id) {}
+Printer::Printer(const Printer& other) = default;
+
+Printer& Printer::operator=(const Printer& other) = default;
+
Printer::~Printer() {}
void Printer::SetPPD(std::unique_ptr<Printer::PPDFile> ppd) {
« no previous file with comments | « chromeos/printing/printer_configuration.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698