diff options
author | Chih-hung Hsieh <chh@google.com> | 2016-04-30 00:26:41 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2016-04-30 00:26:41 +0200 |
commit | fafa6a65314a5550a045c96768f595567db7bc2d (patch) | |
tree | da0bac6fd7dbecb4f9e4e6aaca06d245661cac66 /updater/blockimg.cpp | |
parent | Merge "updater: Don't zero out CommandParameters with memset(3)." (diff) | |
parent | Fix google-explicit-constructor warnings. (diff) | |
download | android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.gz android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.bz2 android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.lz android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.xz android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.tar.zst android_bootable_recovery-fafa6a65314a5550a045c96768f595567db7bc2d.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; |