summaryrefslogtreecommitdiff
path: root/src/cam/stream_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cam/stream_options.h')
-rw-r--r--src/cam/stream_options.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/cam/stream_options.h b/src/cam/stream_options.h
index fbbc13a3..d235b77f 100644
--- a/src/cam/stream_options.h
+++ b/src/cam/stream_options.h
@@ -4,8 +4,8 @@
*
* stream_options.h - Helper to parse options for streams
*/
-#ifndef __CAM_STREAM_OPTIONS_H__
-#define __CAM_STREAM_OPTIONS_H__
+
+#pragma once
#include <libcamera/camera.h>
@@ -26,5 +26,3 @@ private:
static bool parseRole(libcamera::StreamRole *role,
const KeyValueParser::Options &options);
};
-
-#endif /* __CAM_STREAM_OPTIONS_H__ */