summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/framebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/framebuffer.h')
-rw-r--r--include/libcamera/internal/framebuffer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/framebuffer.h b/include/libcamera/internal/framebuffer.h
index cd33c295..908b4789 100644
--- a/include/libcamera/internal/framebuffer.h
+++ b/include/libcamera/internal/framebuffer.h
@@ -4,8 +4,8 @@
*
* framebuffer.h - Internal frame buffer handling
*/
-#ifndef __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__
-#define __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__
+
+#pragma once
#include <libcamera/base/class.h>
@@ -29,5 +29,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_INTERNAL_FRAMEBUFFER_H__ */