diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libcamera/internal/v4l2_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h index c56a950e..d006bf68 100644 --- a/include/libcamera/internal/v4l2_device.h +++ b/include/libcamera/internal/v4l2_device.h @@ -50,7 +50,7 @@ protected: int ioctl(unsigned long request, void *argp); - int fd() { return fd_; } + int fd() const { return fd_; } private: void listControls(); |