summaryrefslogtreecommitdiff
path: root/src/cam/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/image.h')
-rw-r--r--src/cam/image.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cam/image.h b/src/cam/image.h
index f7fc5b27..7953b177 100644
--- a/src/cam/image.h
+++ b/src/cam/image.h
@@ -4,8 +4,8 @@
*
* image.h - Multi-planar image with access to pixel data
*/
-#ifndef __CAM_IMAGE_H__
-#define __CAM_IMAGE_H__
+
+#pragma once
#include <memory>
#include <stdint.h>
@@ -48,5 +48,3 @@ private:
namespace libcamera {
LIBCAMERA_FLAGS_ENABLE_OPERATORS(Image::MapMode)
}
-
-#endif /* __CAM_IMAGE_H__ */