summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/bayer_format.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/bayer_format.h')
-rw-r--r--include/libcamera/internal/bayer_format.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/bayer_format.h b/include/libcamera/internal/bayer_format.h
index 79a25b52..cb20bf9b 100644
--- a/include/libcamera/internal/bayer_format.h
+++ b/include/libcamera/internal/bayer_format.h
@@ -4,8 +4,8 @@
*
* bayer_format.h - Bayer Pixel Format
*/
-#ifndef __LIBCAMERA_INTERNAL_BAYER_FORMAT_H__
-#define __LIBCAMERA_INTERNAL_BAYER_FORMAT_H__
+
+#pragma once
#include <stdint.h>
#include <string>
@@ -69,5 +69,3 @@ static inline bool operator!=(const BayerFormat &lhs, const BayerFormat &rhs)
}
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_BAYER_FORMAT_H__ */