summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2016-04-30 00:33:51 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-04-30 00:33:51 +0200
commit8d3b85a32005df441ae0afde7b9f924824f1446e (patch)
treeac5cf3e75d802862cf895d66174f642ceb8f213d
parentMerge "updater: Don\'t zero out CommandParameters with memset(3)." am: df59cee (diff)
parentMerge "Fix google-explicit-constructor warnings." (diff)
downloadandroid_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.tar
android_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.tar.gz
android_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.tar.bz2
android_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.tar.lz
android_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.tar.xz
android_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.tar.zst
android_bootable_recovery-8d3b85a32005df441ae0afde7b9f924824f1446e.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;