summaryrefslogtreecommitdiff
path: root/src/ipa/mali-c55
diff options
context:
space:
mode:
authorMattijs Korpershoek <mkorpershoek@baylibre.com>2025-01-06 10:40:41 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2025-01-08 15:26:30 +0000
commit5d444bbd51d0b11f85c2d28b426b9bcdce7cbed0 (patch)
tree9f003003b6516cb6d2a7025e6569cbb1a9e1002b /src/ipa/mali-c55
parent3feb4df755d5013c2e058370de7a074f5cc35b71 (diff)
libcamera: base: Remove custom __nodiscard attributeHEADmaster
__nodiscard was introduced for compatibility with C++14. In C++17, there is an official attribute: [[nodiscard]]. Moreover, some libc implementations (like bionic) already define the __nodiscard macro [1]. Since: - libcamera builds with cpp_std=c++17 - [[nodiscard]] is already used in the android HAL (exif) We should replace all usage __nodiscard of by [[nodiscard]] for consistency. Do the replacement and remove the no longer used compiler.h. [1] https://android-review.googlesource.com/c/platform/bionic/+/3254860 Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/mali-c55')
0 files changed, 0 insertions, 0 deletions