diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-12-20 13:45:04 -0800 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-12-20 13:45:04 -0800 |
commit | 7a88a938d2988a95e70ab73905f040d8c8fcc425 (patch) | |
tree | 470255ec6f136d95eb55cf6a558b6b6bf9032a8e /tools | |
parent | bcf293c674307a90238671edcf5c82b17e3bca62 (diff) |
Fix/suppress incident* google-explicit-constructor warnings
* Add explicit to conversion constructors/operators
* Remove redundant explicit of copy constructors
Bug: 28341362
Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,google-explicit-constructor
Change-Id: I26a11bb798d25605577269ed340e97afc8566960
Diffstat (limited to 'tools')
-rw-r--r-- | tools/incident_report/printer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/incident_report/printer.h b/tools/incident_report/printer.h index ed93fa19542c..63e276b367ca 100644 --- a/tools/incident_report/printer.h +++ b/tools/incident_report/printer.h @@ -22,7 +22,7 @@ class Out { public: - Out(int fd); + explicit Out(int fd); ~Out(); void printf(const char* format, ...); |