diff options
author | 2016-04-28 15:16:23 +0000 | |
---|---|---|
committer | 2016-04-28 15:16:23 +0000 | |
commit | 168dc86c261bd7770b99b1803a769eb658f13f96 (patch) | |
tree | 28f7b4851fe1e81e43e57848e84b00f055079fac /libs/gui/IGraphicBufferAlloc.cpp | |
parent | ab682e471572d11c5aa217c9cdd5e2c5f3716598 (diff) | |
parent | a5226fb2cf3d03544da1f9d4d44887c4143e0af0 (diff) |
Merge "Fix google-explicit-constructor warnings."
am: a5226fb
* commit 'a5226fb2cf3d03544da1f9d4d44887c4143e0af0':
Fix google-explicit-constructor warnings.
Change-Id: I10c47f1c6502c038fdc82271bc829635a22cbead
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) {} }; |