summaryrefslogtreecommitdiff
path: root/src/android/camera_stream.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-10-19 17:18:01 +0530
committerUmang Jain <umang.jain@ideasonboard.com>2021-10-19 19:16:01 +0530
commit274607478c712e085633f4d24dba1165154fa5a8 (patch)
tree72f8f6ad30ab9aff11e9881aaf938795c46aba92 /src/android/camera_stream.h
parent5f4f444aed0cf1ff120884db3e031c995c44f053 (diff)
android: camera_stream: Define explicit move constructor and destructors
There's no need for the move constructor and the destructor to be inline. Define them explicitly, with default implementations. This allows usage of the CameraStream class without a complete definition of the PostProcessor class. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Umang Jain <umang.jain@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com>
Diffstat (limited to 'src/android/camera_stream.h')
-rw-r--r--src/android/camera_stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/android/camera_stream.h b/src/android/camera_stream.h
index 85064268..f242336e 100644
--- a/src/android/camera_stream.h
+++ b/src/android/camera_stream.h
@@ -112,6 +112,8 @@ public:
CameraStream(CameraDevice *const cameraDevice,
libcamera::CameraConfiguration *config, Type type,
camera3_stream_t *camera3Stream, unsigned int index);
+ CameraStream(CameraStream &&other);
+ ~CameraStream();
Type type() const { return type_; }
camera3_stream_t *camera3Stream() const { return camera3Stream_; }