summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/media_device.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/media_device.h')
-rw-r--r--include/libcamera/internal/media_device.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/media_device.h b/include/libcamera/internal/media_device.h
index 1f2304c1..d636e34a 100644
--- a/include/libcamera/internal/media_device.h
+++ b/include/libcamera/internal/media_device.h
@@ -4,8 +4,8 @@
*
* media_device.h - Media device handler
*/
-#ifndef __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__
-#define __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__
+
+#pragma once
#include <map>
#include <sstream>
@@ -92,5 +92,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_MEDIA_DEVICE_H__ */