diff options
author | Chih-Hung Hsieh <chh@google.com> | 2016-04-30 00:31:39 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-04-30 00:31:39 +0200 |
commit | 77d7cb1d0ab56a726af4b8e07753c8d4c4f65c25 (patch) | |
tree | da0bac6fd7dbecb4f9e4e6aaca06d245661cac66 /updater/blockimg.cpp | |
parent | Merge "updater: Don\'t zero out CommandParameters with memset(3)." (diff) | |
parent | Merge "Fix google-explicit-constructor warnings." (diff) | |
download | android_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 'updater/blockimg.cpp')
-rw-r--r-- | updater/blockimg.cpp | 2 |
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; |