diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-08-29 14:51:31 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-08-29 14:51:31 -0700 |
commit | 6d09d547b06b86b337e8e16c2585b3882a5bb1dc (patch) | |
tree | 0c81514e6726b36c90433e9d25eeb861702615f9 /libs/input | |
parent | c4c4a1e76e4de30a43c3396d3e0b55209666346d (diff) |
Fix google-explicit-constructor warnings.
* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: Ic550902559b0800bdcfc0b1d301313a909434eed
Diffstat (limited to 'libs/input')
-rw-r--r-- | libs/input/SpriteController.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/input/SpriteController.h b/libs/input/SpriteController.h index 905833c7877d..7fc8d6fd5197 100644 --- a/libs/input/SpriteController.h +++ b/libs/input/SpriteController.h @@ -214,7 +214,7 @@ private: virtual ~SpriteImpl(); public: - SpriteImpl(const sp<SpriteController> controller); + explicit SpriteImpl(const sp<SpriteController> controller); virtual void setIcon(const SpriteIcon& icon); virtual void setVisible(bool visible); |