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

Unified Diff: tools/gn/token.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
« tools/gn/label.h ('K') | « tools/gn/token.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/token.cc
diff --git a/tools/gn/token.cc b/tools/gn/token.cc
index 70ce2a1719de9aed20df4a5cc72f3a2870d6f642..6721619d0d61d6962d0f0fb6e7190472170346d6 100644
--- a/tools/gn/token.cc
+++ b/tools/gn/token.cc
@@ -17,6 +17,8 @@ Token::Token(const Location& location,
location_(location) {
}
+Token::Token(const Token& other) = default;
+
bool Token::IsIdentifierEqualTo(const char* v) const {
return type_ == IDENTIFIER && value_ == v;
}
« tools/gn/label.h ('K') | « tools/gn/token.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698