[libcamera-devel,RFC,3/4] hack: Camera public destructor

Message ID 20200918152019.784315-4-tomi.valkeinen@iki.fi
State Superseded
Headers show
Series
  • prototype python bindings
Related show

Commit Message

Tomi Valkeinen Sept. 18, 2020, 3:20 p.m. UTC
Not clear why we need this with pybind11...

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@iki.fi>
---
 include/libcamera/camera.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index 272c12c..d50b7ca 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -99,10 +99,10 @@  public:
 	int start();
 	int stop();
 
+	~Camera();
 private:
 	Camera(PipelineHandler *pipe, const std::string &id,
 	       const std::set<Stream *> &streams);
-	~Camera();
 
 	class Private;
 	std::unique_ptr<Private> p_;