summaryrefslogtreecommitdiff
path: root/src/cam/camera_session.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/camera_session.h')
-rw-r--r--src/cam/camera_session.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cam/camera_session.h b/src/cam/camera_session.h
index a7f92d61..bf966bd1 100644
--- a/src/cam/camera_session.h
+++ b/src/cam/camera_session.h
@@ -4,8 +4,8 @@
*
* camera_session.h - Camera capture session
*/
-#ifndef __CAM_CAMERA_SESSION_H__
-#define __CAM_CAMERA_SESSION_H__
+
+#pragma once
#include <memory>
#include <stdint.h>
@@ -74,5 +74,3 @@ private:
std::unique_ptr<libcamera::FrameBufferAllocator> allocator_;
std::vector<std::unique_ptr<libcamera::Request>> requests_;
};
-
-#endif /* __CAM_CAMERA_SESSION_H__ */