summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-04-30 00:38:20 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-30 00:38:20 +0200
commitf81339203a75580555ac1d497190b62eef39acb8 (patch)
tree15116bc76407a59667b5e332e41075ddc5645c36
parentMerge "updater: Don\'t zero out CommandParameters with memset(3)." am: df59cee am: 4458d3e am: 6bfe76e (diff)
parentMerge "Fix google-explicit-constructor warnings." am: fafa6a6531 am: 77d7cb1d0a (diff)
downloadandroid_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.tar
android_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.tar.gz
android_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.tar.bz2
android_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.tar.lz
android_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.tar.xz
android_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.tar.zst
android_bootable_recovery-f81339203a75580555ac1d497190b62eef39acb8.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;