summaryrefslogtreecommitdiffstats
path: root/updater/blockimg.cpp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-04-29 23:16:35 +0200
committerChih-Hung Hsieh <chh@google.com>2016-04-29 23:16:35 +0200
commit49c5c79df15700f9f6e3a349b204edd1548f4357 (patch)
tree51adcbd6bd98875dacebc41b931b075f141d9dba /updater/blockimg.cpp
parentMerge "Fix google-runtime-int warnings." (diff)
downloadandroid_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.tar
android_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.tar.gz
android_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.tar.bz2
android_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.tar.lz
android_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.tar.xz
android_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.tar.zst
android_bootable_recovery-49c5c79df15700f9f6e3a349b204edd1548f4357.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 908e11631..2aca9e93d 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;