summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcameraprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gstreamer/gstlibcameraprovider.h')
-rw-r--r--src/gstreamer/gstlibcameraprovider.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gstreamer/gstlibcameraprovider.h b/src/gstreamer/gstlibcameraprovider.h
index bdd19db8..aaceabf5 100644
--- a/src/gstreamer/gstlibcameraprovider.h
+++ b/src/gstreamer/gstlibcameraprovider.h
@@ -6,8 +6,7 @@
* gstlibcameraprovider.h - GStreamer Device Provider
*/
-#ifndef __GST_LIBCAMERA_PROVIDER_H__
-#define __GST_LIBCAMERA_PROVIDER_H__
+#pragma once
#include <gst/gst.h>
@@ -18,6 +17,3 @@ G_DECLARE_FINAL_TYPE(GstLibcameraProvider, gst_libcamera_provider,
GST_LIBCAMERA, PROVIDER, GstDeviceProvider)
G_END_DECLS
-
-#endif /* __GST_LIBCAMERA_PROVIDER_H__ */
-