commit | 10ab8bb0fa510bdb577adce5e67b6bf35882a9dd | [log] [tgz] |
---|---|---|
author | Chih-Hung Hsieh <[email protected]> | Fri Jul 01 12:20:20 2016 -0700 |
committer | Chih-Hung Hsieh <[email protected]> | Fri Jul 01 12:20:20 2016 -0700 |
tree | 8eda3545f6cf0807859af1794f81f468013820e3 | |
parent | 0824f55dfbee792ef30e6d3bcbdfce04822e7f4f [diff] [blame] |
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
diff --git a/rsElement.h b/rsElement.h index 9374c64..d8f101b 100644 --- a/rsElement.h +++ b/rsElement.h
@@ -152,7 +152,7 @@ virtual ~Element(); - Element(Context *); + explicit Element(Context *); Component mComponent; uint32_t mBitsUnpadded;