summaryrefslogtreecommitdiff
path: root/include/libcamera/framebuffer_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/framebuffer_allocator.h')
-rw-r--r--include/libcamera/framebuffer_allocator.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/framebuffer_allocator.h b/include/libcamera/framebuffer_allocator.h
index cbc9ce10..45ff232b 100644
--- a/include/libcamera/framebuffer_allocator.h
+++ b/include/libcamera/framebuffer_allocator.h
@@ -4,8 +4,8 @@
*
* framebuffer_allocator.h - FrameBuffer allocator
*/
-#ifndef __LIBCAMERA_FRAMEBUFFER_ALLOCATOR_H__
-#define __LIBCAMERA_FRAMEBUFFER_ALLOCATOR_H__
+
+#pragma once
#include <map>
#include <memory>
@@ -39,5 +39,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_FRAMEBUFFER_ALLOCATOR_H__ */