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 /libs | |
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 'libs')
-rw-r--r-- | libs/incident/include/android/os/IncidentReportArgs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/incident/include/android/os/IncidentReportArgs.h b/libs/incident/include/android/os/IncidentReportArgs.h index c56f689b7419..ee1e33c43b89 100644 --- a/libs/incident/include/android/os/IncidentReportArgs.h +++ b/libs/incident/include/android/os/IncidentReportArgs.h @@ -40,7 +40,7 @@ const uint8_t DEST_AUTOMATIC = 200; class IncidentReportArgs : public Parcelable { public: IncidentReportArgs(); - explicit IncidentReportArgs(const IncidentReportArgs& that); + IncidentReportArgs(const IncidentReportArgs& that); virtual ~IncidentReportArgs(); virtual status_t writeToParcel(Parcel* out) const; |