diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-05-03 10:02:51 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-05-03 10:02:51 -0700 |
commit | d53e3bed1ca4a14b2a86d53eaef6969bd043176e (patch) | |
tree | 887a75bd3c30064ed2a00c484fd25cbf5d921ccf /libs/hwui/tests/macrobench/TestSceneRunner.cpp | |
parent | 5b93c24bc08d91cd8d6c4701e4dbfa3ddb802753 (diff) |
Fix google-explicit-constructor warnings.
Bug: 28341362
Change-Id: I080090d50f1a368a4e7c1a0732297bb6a295e34f
Diffstat (limited to 'libs/hwui/tests/macrobench/TestSceneRunner.cpp')
-rw-r--r-- | libs/hwui/tests/macrobench/TestSceneRunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/tests/macrobench/TestSceneRunner.cpp b/libs/hwui/tests/macrobench/TestSceneRunner.cpp index c5af06160b62..807cf73d3aab 100644 --- a/libs/hwui/tests/macrobench/TestSceneRunner.cpp +++ b/libs/hwui/tests/macrobench/TestSceneRunner.cpp @@ -41,7 +41,7 @@ public: template<class T> class ModifiedMovingAverage { public: - ModifiedMovingAverage(int weight) : mWeight(weight) {} + explicit ModifiedMovingAverage(int weight) : mWeight(weight) {} T add(T today) { if (!mHasValue) { |