From 49c5c79df15700f9f6e3a349b204edd1548f4357 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Fri, 29 Apr 2016 14:16:35 -0700 Subject: Fix google-explicit-constructor warnings. Bug: 28341362 Change-Id: I5b35ae16c069e7e9229e66963386f322bd808af1 --- updater/blockimg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp index 908e11631..2aca9e93d 100644 --- a/updater/blockimg.cpp +++ b/updater/blockimg.cpp @@ -192,7 +192,7 @@ static void allocate(size_t size, std::vector& buffer) { } struct RangeSinkState { - RangeSinkState(RangeSet& rs) : tgt(rs) { }; + explicit RangeSinkState(RangeSet& rs) : tgt(rs) { }; int fd; const RangeSet& tgt; -- cgit v1.2.3