summaryrefslogtreecommitdiff
path: root/src/android/frame_buffer_allocator.h
diff options
context:
space:
mode:
authorNicholas Roth <nicholas@rothemail.net>2022-10-27 22:17:21 -0500
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-10-28 11:37:41 +0100
commit6a2f971035c2df711b10200f9c8c011d9a420e58 (patch)
tree8ff1abf06493255f6d25977dc1bff07dc3ce51a8 /src/android/frame_buffer_allocator.h
parent88d059105b611be03d67559aa7fbbab7c45c8ace (diff)
android: remove references to std::filesystem
Android 11's toolchain does not support std::filesystem, but camera_hal_config.cpp currently uses it. Remove references to std::filesystem in order to support Android <= 11. This adds a very small difference in behaviour, as File::exist() will return true for special files (pipes, character or block devices, ...) while std::filesystem::is_regular_file() doesn't, but I consider this to be a corner case that doesn't matter much. Signed-off-by: Nicholas Roth <nicholas@rothemail.net> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/frame_buffer_allocator.h')
0 files changed, 0 insertions, 0 deletions