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

Unified Diff: tools/gn/c_include_iterator.h

Issue 964203002: tools/gn: Fix errors found by Facebook's flint tool. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix chromium-style plugin errors Created 5 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
« no previous file with comments | « tools/gn/builder.h ('k') | tools/gn/commands.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/c_include_iterator.h
diff --git a/tools/gn/c_include_iterator.h b/tools/gn/c_include_iterator.h
index 41c124617ad7814635c16ad42a38e2ad0463efab..86c5edeca3ca3cff25d0721dbfd42e1c0110f4dd 100644
--- a/tools/gn/c_include_iterator.h
+++ b/tools/gn/c_include_iterator.h
@@ -18,7 +18,7 @@ class LocationRange;
class CIncludeIterator {
public:
// The InputFile pointed to must outlive this class.
- CIncludeIterator(const InputFile* input);
+ explicit CIncludeIterator(const InputFile* input);
~CIncludeIterator();
// Fills in the string with the contents of the next include, and the
« no previous file with comments | « tools/gn/builder.h ('k') | tools/gn/commands.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698