diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-08-29 14:52:43 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-08-29 14:56:58 -0700 |
commit | a619ec70cf765d9166f0862e74653711b87307b3 (patch) | |
tree | 4ba6f1bcb2df2627fac64cc8ea269d32c04909ca /libs/hwui/PropertyValuesAnimatorSet.h | |
parent | c4c4a1e76e4de30a43c3396d3e0b55209666346d (diff) |
Fix google-explicit-constructor warnings in libs/hwui.
* Add explicit keyword to conversion constructors,
or add NOLINT for implicit converters.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: Id8ca42433a4fc3652e4cb13787c4cb169f20d9a9
Diffstat (limited to 'libs/hwui/PropertyValuesAnimatorSet.h')
-rw-r--r-- | libs/hwui/PropertyValuesAnimatorSet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/PropertyValuesAnimatorSet.h b/libs/hwui/PropertyValuesAnimatorSet.h index c7ae7c0e8ce1..602fd91b0412 100644 --- a/libs/hwui/PropertyValuesAnimatorSet.h +++ b/libs/hwui/PropertyValuesAnimatorSet.h @@ -73,7 +73,7 @@ private: class PropertyAnimatorSetListener : public AnimationListener { public: - PropertyAnimatorSetListener(PropertyValuesAnimatorSet* set) : mSet(set) {} + explicit PropertyAnimatorSetListener(PropertyValuesAnimatorSet* set) : mSet(set) {} virtual void onAnimationFinished(BaseRenderNodeAnimator* animator) override; private: |