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

Unified Diff: tools/gn/pattern.h

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.h
diff --git a/tools/gn/pattern.h b/tools/gn/pattern.h
index 1aa709700da0e89b546f7deac2f5c70195b4df9e..f141f3eaeb18b80d81a4660081228e84d5330ee6 100644
--- a/tools/gn/pattern.h
+++ b/tools/gn/pattern.h
@@ -47,6 +47,7 @@ class Pattern {
};
explicit Pattern(const std::string& s);
+ Pattern(const Pattern& other);
~Pattern();
// Returns true if the current pattern matches the given string.
@@ -70,6 +71,7 @@ class Pattern {
class PatternList {
public:
PatternList();
+ PatternList(const PatternList& other);
~PatternList();
bool is_empty() const { return patterns_.empty(); }
« tools/gn/label.h ('K') | « tools/gn/label_pattern.cc ('k') | tools/gn/pattern.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698