@@ -34,7 +34,7 @@ public:
~Private();
Camera *camera() const { return camera_; }
- bool hasPendingBuffers() const;
+ bool hasPendingBuffers() const { return !pending_.empty(); }
ControlList &metadata() { return metadata_; }
@@ -74,15 +74,12 @@ Request::Private::~Private()
*/
/**
+ * \fn Request::Private::hasPendingBuffers()
* \brief Check if a request has buffers yet to be completed
*
* \return True if the request has buffers pending for completion, false
* otherwise
*/
-bool Request::Private::hasPendingBuffers() const
-{
- return !pending_.empty();
-}
/**
* \fn Request::Private::metadata()
It is a trivial function, inline it. Signed-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> --- include/libcamera/internal/request.h | 2 +- src/libcamera/request.cpp | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-)