diff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h index d79bd9ce9..eb464114c 100644 --- a/include/libcamera/internal/camera_sensor.h +++ b/include/libcamera/internal/camera_sensor.h @@ -66,7 +66,7 @@ public: int sensorInfo(CameraSensorInfo *info) const; protected: - std::string logPrefix() const; + std::string logPrefix() const override; private: const MediaEntity *entity_; diff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h index 19af059d9..20e397cca 100644 --- a/include/libcamera/internal/media_device.h +++ b/include/libcamera/internal/media_device.h @@ -55,7 +55,7 @@ public: Signal disconnected; protected: - std::string logPrefix() const; + std::string logPrefix() const override; private: int open(); diff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h index 1be454f0d..07dc93d98 100644 --- a/include/libcamera/internal/v4l2_subdevice.h +++ b/include/libcamera/internal/v4l2_subdevice.h @@ -62,7 +62,7 @@ public: const std::string &entity); protected: - std::string logPrefix() const; + std::string logPrefix() const override; private: std::vector enumPadCodes(unsigned int pad); diff --git a/include/libcamera/internal/v4l2_videodevice.h b/include/libcamera/internal/v4l2_videodevice.h index dc2595235..cbaee6149 100644 --- a/include/libcamera/internal/v4l2_videodevice.h +++ b/include/libcamera/internal/v4l2_videodevice.h @@ -213,7 +213,7 @@ public: V4L2PixelFormat toV4L2PixelFormat(const PixelFormat &pixelFormat); protected: - std::string logPrefix() const; + std::string logPrefix() const override; private: int getFormatMeta(V4L2DeviceFormat *format);