summaryrefslogtreecommitdiff
path: root/src/cam/frame_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/frame_sink.h')
-rw-r--r--src/cam/frame_sink.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cam/frame_sink.h b/src/cam/frame_sink.h
index 76e1fc30..ca4347cb 100644
--- a/src/cam/frame_sink.h
+++ b/src/cam/frame_sink.h
@@ -4,8 +4,8 @@
*
* frame_sink.h - Base Frame Sink Class
*/
-#ifndef __CAM_FRAME_SINK_H__
-#define __CAM_FRAME_SINK_H__
+
+#pragma once
#include <libcamera/base/signal.h>
@@ -30,5 +30,3 @@ public:
virtual bool processRequest(libcamera::Request *request) = 0;
libcamera::Signal<libcamera::Request *> requestProcessed;
};
-
-#endif /* __CAM_FRAME_SINK_H__ */