summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/device_enumerator_udev.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/device_enumerator_udev.h')
-rw-r--r--include/libcamera/internal/device_enumerator_udev.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/device_enumerator_udev.h b/include/libcamera/internal/device_enumerator_udev.h
index c0352980..1b3360df 100644
--- a/include/libcamera/internal/device_enumerator_udev.h
+++ b/include/libcamera/internal/device_enumerator_udev.h
@@ -4,8 +4,8 @@
*
* device_enumerator_udev.h - udev-based device enumerator
*/
-#ifndef __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__
-#define __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__
+
+#pragma once
#include <list>
#include <map>
@@ -71,5 +71,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_DEVICE_ENUMERATOR_UDEV_H__ */