summaryrefslogtreecommitdiff
path: root/src/libcamera/include/media_object.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcamera/include/media_object.h')
-rw-r--r--src/libcamera/include/media_object.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libcamera/include/media_object.h b/src/libcamera/include/media_object.h
index 2a3ffc06..748eafdc 100644
--- a/src/libcamera/include/media_object.h
+++ b/src/libcamera/include/media_object.h
@@ -27,9 +27,11 @@ public:
protected:
friend class MediaDevice;
- MediaObject(MediaDevice *dev, unsigned int id) :
- dev_(dev), id_(id) { }
- virtual ~MediaObject() { }
+ MediaObject(MediaDevice *dev, unsigned int id)
+ : dev_(dev), id_(id)
+ {
+ }
+ virtual ~MediaObject() {}
MediaDevice *dev_;
unsigned int id_;
@@ -49,7 +51,7 @@ private:
MediaLink(const struct media_v2_link *link,
MediaPad *source, MediaPad *sink);
MediaLink(const MediaLink &) = delete;
- ~MediaLink() { }
+ ~MediaLink() {}
MediaPad *source_;
MediaPad *sink_;