diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-08-29 14:47:52 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2016-08-29 14:47:52 -0700 |
commit | bd6b663b470e9b2687ebec7dc5142ee78ac28268 (patch) | |
tree | f6bf73b782b7ff0251aec3ad6e77b2d5f0d77af7 /media/mca | |
parent | c4c4a1e76e4de30a43c3396d3e0b55209666346d (diff) |
Fix google-explicit-constructor warnings in media/mca.
* Add explicit keyword to conversion constructors.
Bug: 28341362
Test: build with WITH_TIDY=1
Change-Id: Ia820e0a82df4bf74e5846917f6148849aed6ddc0
Diffstat (limited to 'media/mca')
-rw-r--r-- | media/mca/filterfw/native/core/gl_frame.h | 2 | ||||
-rw-r--r-- | media/mca/filterfw/native/core/native_frame.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/media/mca/filterfw/native/core/gl_frame.h b/media/mca/filterfw/native/core/gl_frame.h index f2a1ad5ed81b..fdbb1f57009a 100644 --- a/media/mca/filterfw/native/core/gl_frame.h +++ b/media/mca/filterfw/native/core/gl_frame.h @@ -38,7 +38,7 @@ class GLFrame : public GLBufferHandle { // Create an empty GL frame in the specified GL environment. Note, that the GLFrame does NOT // take ownership. The caller must make sure the GLEnv stays valid as long as the GLFrame is // alive. - GLFrame(GLEnv* gl_env); + explicit GLFrame(GLEnv* gl_env); // Deallocate a GL frame. ~GLFrame(); diff --git a/media/mca/filterfw/native/core/native_frame.h b/media/mca/filterfw/native/core/native_frame.h index 0d335b36a26b..2da557dec000 100644 --- a/media/mca/filterfw/native/core/native_frame.h +++ b/media/mca/filterfw/native/core/native_frame.h @@ -27,7 +27,7 @@ namespace filterfw { class NativeFrame { public: // Create an empty native frame. - NativeFrame(int size); + explicit NativeFrame(int size); ~NativeFrame(); |