summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/mapped_framebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/mapped_framebuffer.h')
-rw-r--r--include/libcamera/internal/mapped_framebuffer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/mapped_framebuffer.h b/include/libcamera/internal/mapped_framebuffer.h
index 70ffbcbe..fb39adbf 100644
--- a/include/libcamera/internal/mapped_framebuffer.h
+++ b/include/libcamera/internal/mapped_framebuffer.h
@@ -4,8 +4,8 @@
*
* mapped_framebuffer.h - Frame buffer memory mapping support
*/
-#ifndef __LIBCAMERA_INTERNAL_MAPPED_FRAMEBUFFER_H__
-#define __LIBCAMERA_INTERNAL_MAPPED_FRAMEBUFFER_H__
+
+#pragma once
#include <stdint.h>
#include <vector>
@@ -60,5 +60,3 @@ public:
LIBCAMERA_FLAGS_ENABLE_OPERATORS(MappedFrameBuffer::MapFlag)
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_MAPPED_FRAMEBUFFER_H__ */