summaryrefslogtreecommitdiffstats
path: root/otafault/ota_io.h
diff options
context:
space:
mode:
authorMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:44:26 +0100
committerMikhail Lappo <miklelappo@gmail.com>2017-03-23 21:52:30 +0100
commitb49767c0bacb714e14f988423e14832689c6faf2 (patch)
treed9263ecace61d37381854e4dcc5d41cc514173b2 /otafault/ota_io.h
parentRemoved C-style casts (diff)
downloadandroid_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.gz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.bz2
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.lz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.xz
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.tar.zst
android_bootable_recovery-b49767c0bacb714e14f988423e14832689c6faf2.zip
Diffstat (limited to 'otafault/ota_io.h')
-rw-r--r--otafault/ota_io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/otafault/ota_io.h b/otafault/ota_io.h
index 395b4230e..9428f1b1f 100644
--- a/otafault/ota_io.h
+++ b/otafault/ota_io.h
@@ -59,7 +59,7 @@ using unique_fd = android::base::unique_fd_impl<OtaCloser>;
int ota_close(unique_fd& fd);
struct OtaFcloser {
- void operator()(FILE*);
+ void operator()(FILE*) const;
};
using unique_file = std::unique_ptr<FILE, OtaFcloser>;