summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-30 00:31:39 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-30 00:31:39 +0200
commit77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25 (patch)
treeda0bac6fd7dbecb4f9e4e6aaca06d245661cac66
parentMerge "updater: Don\'t zero out CommandParameters with memset(3)." (diff)
parentMerge "Fix google-explicit-constructor warnings." (diff)
downloadandroid_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.tar
android_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.tar.gz
android_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.tar.bz2
android_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.tar.lz
android_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.tar.xz
android_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.tar.zst
android_bootable_recovery-77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25.zip
Diffstat (limited to '')
-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;