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

Unified Diff: tools/gn/token.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/token.h
diff --git a/tools/gn/token.h b/tools/gn/token.h
index bf8728377a12b1e3c03e66e244b37dcbada56fa1..24c4e9c2e10f622f6d6c57599d764e97bb188df2 100644
--- a/tools/gn/token.h
+++ b/tools/gn/token.h
@@ -58,6 +58,7 @@ class Token {
Token();
Token(const Location& location, Type t, const base::StringPiece& v);
+ Token(const Token& other);
Type type() const { return type_; }
const base::StringPiece& value() const { return value_; }
« tools/gn/label.h ('K') | « tools/gn/substitution_pattern.cc ('k') | tools/gn/token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698