Merge "Fix google-explicit-constructor warnings in media/mca."

This commit is contained in:
Chih-hung Hsieh
2016-08-31 17:18:29 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -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();

View File

@@ -27,7 +27,7 @@ namespace filterfw {
class NativeFrame {
public:
// Create an empty native frame.
NativeFrame(int size);
explicit NativeFrame(int size);
~NativeFrame();