summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libcamera/camera.h2
-rw-r--r--include/libcamera/camera_manager.h2
-rw-r--r--include/libcamera/class.h4
3 files changed, 4 insertions, 4 deletions
diff --git a/include/libcamera/camera.h b/include/libcamera/camera.h
index 326b14d0..d7164180 100644
--- a/include/libcamera/camera.h
+++ b/include/libcamera/camera.h
@@ -74,7 +74,7 @@ protected:
class Camera final : public Object, public std::enable_shared_from_this<Camera>,
public Extensible
{
- LIBCAMERA_DECLARE_PRIVATE(Camera)
+ LIBCAMERA_DECLARE_PRIVATE()
public:
static std::shared_ptr<Camera> create(PipelineHandler *pipe,
diff --git a/include/libcamera/camera_manager.h b/include/libcamera/camera_manager.h
index 35a59f0d..c2f0b786 100644
--- a/include/libcamera/camera_manager.h
+++ b/include/libcamera/camera_manager.h
@@ -22,7 +22,7 @@ class Camera;
class CameraManager : public Object, public Extensible
{
- LIBCAMERA_DECLARE_PRIVATE(CameraManager)
+ LIBCAMERA_DECLARE_PRIVATE()
public:
CameraManager();
~CameraManager();
diff --git a/include/libcamera/class.h b/include/libcamera/class.h
index 920624d8..466114ec 100644
--- a/include/libcamera/class.h
+++ b/include/libcamera/class.h
@@ -30,7 +30,7 @@ namespace libcamera {
#endif
#ifndef __DOXYGEN__
-#define LIBCAMERA_DECLARE_PRIVATE(klass) \
+#define LIBCAMERA_DECLARE_PRIVATE() \
public: \
class Private; \
friend class Private;
@@ -46,7 +46,7 @@ public: \
_o<Public>();
#else
-#define LIBCAMERA_DECLARE_PRIVATE(klass)
+#define LIBCAMERA_DECLARE_PRIVATE()
#define LIBCAMERA_DECLARE_PUBLIC(klass)
#define LIBCAMERA_D_PTR(klass)
#define LIBCAMERA_O_PTR(klass)