summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-04-30 00:26:41 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-04-30 00:26:41 +0200
commitfafa6a65314a5550a045c96768f595567db7bc2d (patch)
treeda0bac6fd7dbecb4f9e4e6aaca06d245661cac66
parentMerge "updater: Don't zero out CommandParameters with memset(3)." (diff)
parentFix google-explicit-constructor warnings. (diff)
downloadandroid_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar
android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.gz
android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.bz2
android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.lz
android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.xz
android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.zst
android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.zip
-rw-r--r--updater/blockimg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.cpp b/updater/blockimg.cpp
index 2e30c5bf3..12a549dba 100644
--- a/updater/blockimg.cpp
+++ b/updater/blockimg.cpp
@@ -192,7 +192,7 @@ static void allocate(size_t size, std::vector<uint8_t>& buffer) {
}
struct RangeSinkState {
- RangeSinkState(RangeSet& rs) : tgt(rs) { };
+ explicit RangeSinkState(RangeSet& rs) : tgt(rs) { };
int fd;
const RangeSet& tgt;