diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-07-01 12:20:20 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-07-01 12:20:20 -0700 |
commit | 10ab8bb0fa510bdb577adce5e67b6bf35882a9dd (patch) | |
tree | 8eda3545f6cf0807859af1794f81f468013820e3 /rsContext.h | |
parent | 0824f55dfbee792ef30e6d3bcbdfce04822e7f4f (diff) | |
download | rs-10ab8bb0fa510bdb577adce5e67b6bf35882a9dd.tar.gz |
Fix google-explicit-constructor warnings in frameworks/rs.
* Declare explicit conversion constructors.
* Add NOLINT to implicit conversion constructors.
Bug: 28341362
Test: build with clang-tidy
Change-Id: If5114de668c1c8946b8fca9cee4b2b14f95be5f1
Diffstat (limited to 'rsContext.h')
-rw-r--r-- | rsContext.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsContext.h b/rsContext.h index 4a8cd291..fe771ec5 100644 --- a/rsContext.h +++ b/rsContext.h @@ -102,7 +102,7 @@ public: class PushState { public: - PushState(Context *); + explicit PushState(Context *); ~PushState(); private: |