libcamera: Standardize on 'const auto'

'const auto' and 'auto const' are interchangeable in C++. There are 446
occurrences of the former in the code base, and 67 occurrences of the
latter. Standardize on the winner.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
This commit is contained in:
Laurent Pinchart
2026-02-20 13:34:30 +01:00
parent 5a44c5af06
commit 993968d80e
26 changed files with 65 additions and 65 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ public:
if (!cache.isEmpty())
return TestFail;
for (auto const &buffer : buffers) {
for (const auto &buffer : buffers) {
FrameBuffer &b = *buffer.get();
cache.get(b);
}