summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-30 00:36:10 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-30 00:36:10 +0200
commitac7d8f278b65142ddd84bc15331e3daef5946059 (patch)
treeac5cf3e75d802862cf895d66174f642ceb8f213d /updater
parentMerge "updater: Don\'t zero out CommandParameters with memset(3)." am: df59cee am: 4458d3e (diff)
parentMerge "Fix google-explicit-constructor warnings." am: fafa6a6531 (diff)
downloadandroid_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.tar
android_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.tar.gz
android_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.tar.bz2
android_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.tar.lz
android_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.tar.xz
android_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.tar.zst
android_bootable_recovery-ac7d8f278b65142ddd84bc15331e3daef5946059.zip
Diffstat (limited to 'updater')
-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;