[RFC,v1,03/27] libcamera: request: hasPendingBuffers(): Simplify
diff mbox series

Message ID 20260618123844.656396-4-barnabas.pocze@ideasonboard.com
State New
Headers show
Series
  • Misc. changes before request-buffer split
Related show

Commit Message

Barnabás Pőcze June 18, 2026, 12:38 p.m. UTC
Simplify by calling the equivalent method of the "Private" type.

Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>
---
 src/libcamera/request.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

diff --git a/src/libcamera/request.cpp b/src/libcamera/request.cpp
index e31c9c006a..163d8cf920 100644
--- a/src/libcamera/request.cpp
+++ b/src/libcamera/request.cpp
@@ -575,7 +575,7 @@  uint32_t Request::sequence() const
  */
 bool Request::hasPendingBuffers() const
 {
-	return !_d()->pending_.empty();
+	return _d()->hasPendingBuffers();
 }
 
 /**