summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-04-13 21:24:37 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-07-06 19:58:36 +0300
commitfcccd7991f444332d7a0c8462ec683738c72425f (patch)
tree4cbc91c1bc7289cd35e6bedcc49c4e01d7bb502a /include
parentfe70472e9b17922ac49eec600d3ecf74e30da227 (diff)
libcamera: media_device: Rename valid() function to isValid()
We use isValid() instead of valid() through the code base, make MediaDevice consistent. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/internal/media_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h
index 8424611d..3a7722c2 100644
--- a/include/libcamera/internal/media_device.h
+++ b/include/libcamera/internal/media_device.h
@@ -35,7 +35,7 @@ public:
void unlock();
int populate();
- bool valid() const { return valid_; }
+ bool isValid() const { return valid_; }
const std::string driver() const { return driver_; }
const std::string deviceNode() const { return deviceNode_; }