summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-26 17:44:49 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-04-26 19:25:11 +0300
commit1ec73e9ad5008824c80e3b7577437699e9bac898 (patch)
tree9e5d1a2d6d0f05ae703aa50ef72d22dca923c2ab
parentaf0d21ef8113e6bc2e18c28781f409741a977e3e (diff)
libcamera: Mark overridden functions with override
Several overridden virtual functions are not marked with override. Fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
-rw-r--r--src/libcamera/pipeline/ipu3/ipu3.cpp2
-rw-r--r--src/libcamera/pipeline/uvcvideo.cpp2
-rw-r--r--src/libcamera/pipeline/vimc.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/libcamera/pipeline/ipu3/ipu3.cpp b/src/libcamera/pipeline/ipu3/ipu3.cpp
index 2c292920..97a30920 100644
--- a/src/libcamera/pipeline/ipu3/ipu3.cpp
+++ b/src/libcamera/pipeline/ipu3/ipu3.cpp
@@ -167,7 +167,7 @@ public:
int queueRequest(Camera *camera, Request *request) override;
- bool match(DeviceEnumerator *enumerator);
+ bool match(DeviceEnumerator *enumerator) override;
private:
class IPU3CameraData : public CameraData
diff --git a/src/libcamera/pipeline/uvcvideo.cpp b/src/libcamera/pipeline/uvcvideo.cpp
index b8f634d8..2f9b5e0f 100644
--- a/src/libcamera/pipeline/uvcvideo.cpp
+++ b/src/libcamera/pipeline/uvcvideo.cpp
@@ -42,7 +42,7 @@ public:
int queueRequest(Camera *camera, Request *request) override;
- bool match(DeviceEnumerator *enumerator);
+ bool match(DeviceEnumerator *enumerator) override;
private:
class UVCCameraData : public CameraData
diff --git a/src/libcamera/pipeline/vimc.cpp b/src/libcamera/pipeline/vimc.cpp
index 22449e47..f70b4d3c 100644
--- a/src/libcamera/pipeline/vimc.cpp
+++ b/src/libcamera/pipeline/vimc.cpp
@@ -42,7 +42,7 @@ public:
int queueRequest(Camera *camera, Request *request) override;
- bool match(DeviceEnumerator *enumerator);
+ bool match(DeviceEnumerator *enumerator) override;
private:
class VimcCameraData : public CameraData