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

Unified Diff: tools/gn/pattern.cc

Issue 1728303003: tools/gn: 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, 10 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: tools/gn/pattern.cc
diff --git a/tools/gn/pattern.cc b/tools/gn/pattern.cc
index 4b14d2aae5251fdf3cd3a6be0eaf252aab7be9d1..3de96a3f55d717e1a6b5eb020d343f80d530e818 100644
--- a/tools/gn/pattern.cc
+++ b/tools/gn/pattern.cc
@@ -60,6 +60,8 @@ Pattern::Pattern(const std::string& s) {
subranges_[1].type == Subrange::LITERAL);
}
+Pattern::Pattern(const Pattern& other) = default;
+
Pattern::~Pattern() {
}
@@ -151,6 +153,8 @@ bool Pattern::RecursiveMatch(const std::string& s,
PatternList::PatternList() {
}
+PatternList::PatternList(const PatternList& other) = default;
+
PatternList::~PatternList() {
}
« tools/gn/label.h ('K') | « tools/gn/pattern.h ('k') | tools/gn/substitution_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698