summaryrefslogtreecommitdiff
path: root/src/cam/file_sink.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/file_sink.h')
-rw-r--r--src/cam/file_sink.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cam/file_sink.h b/src/cam/file_sink.h
index 8de93a01..067736f5 100644
--- a/src/cam/file_sink.h
+++ b/src/cam/file_sink.h
@@ -4,8 +4,8 @@
*
* file_sink.h - File Sink
*/
-#ifndef __CAM_FILE_SINK_H__
-#define __CAM_FILE_SINK_H__
+
+#pragma once
#include <map>
#include <memory>
@@ -38,5 +38,3 @@ private:
std::string pattern_;
std::map<libcamera::FrameBuffer *, std::unique_ptr<Image>> mappedBuffers_;
};
-
-#endif /* __CAM_FILE_SINK_H__ */