diff options
author | 2016-04-25 15:41:05 -0700 | |
---|---|---|
committer | 2016-04-25 15:44:11 -0700 | |
commit | e2347b7953f70232541bdc1b392230d6231aaeb9 (patch) | |
tree | 1d73a0ad214dcbcdf8bae3d1dc1eebb83985575b /libs/gui/IGraphicBufferAlloc.cpp | |
parent | 33dcaf9b52649785bff0c56b48f84a8218354888 (diff) |
Fix google-explicit-constructor warnings.
Bug: 28341362
Change-Id: I0ce850de85e0de6a5472dd142f738856142db9ec
Diffstat (limited to 'libs/gui/IGraphicBufferAlloc.cpp')
-rw-r--r-- | libs/gui/IGraphicBufferAlloc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/IGraphicBufferAlloc.cpp b/libs/gui/IGraphicBufferAlloc.cpp index 3009989964..d4d470281e 100644 --- a/libs/gui/IGraphicBufferAlloc.cpp +++ b/libs/gui/IGraphicBufferAlloc.cpp @@ -37,7 +37,7 @@ enum { class BpGraphicBufferAlloc : public BpInterface<IGraphicBufferAlloc> { public: - BpGraphicBufferAlloc(const sp<IBinder>& impl) + explicit BpGraphicBufferAlloc(const sp<IBinder>& impl) : BpInterface<IGraphicBufferAlloc>(impl) { } @@ -90,7 +90,7 @@ status_t BnGraphicBufferAlloc::onTransact( class BufferReference : public BBinder { sp<GraphicBuffer> mBuffer; public: - BufferReference(const sp<GraphicBuffer>& buffer) : mBuffer(buffer) {} + explicit BufferReference(const sp<GraphicBuffer>& buffer) : mBuffer(buffer) {} }; |