summaryrefslogtreecommitdiff
path: root/test/libtest/buffer_source.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest/buffer_source.h')
-rw-r--r--test/libtest/buffer_source.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/libtest/buffer_source.h b/test/libtest/buffer_source.h
index 84e2fa8f..0cc71aa5 100644
--- a/test/libtest/buffer_source.h
+++ b/test/libtest/buffer_source.h
@@ -4,8 +4,8 @@
*
* buffer_source.h - libcamera camera test helper to create FrameBuffers
*/
-#ifndef __LIBCAMERA_BUFFER_SOURCE_TEST_H__
-#define __LIBCAMERA_BUFFER_SOURCE_TEST_H__
+
+#pragma once
#include <libcamera/stream.h>
@@ -25,5 +25,3 @@ private:
std::shared_ptr<libcamera::MediaDevice> media_;
std::vector<std::unique_ptr<libcamera::FrameBuffer>> buffers_;
};
-
-#endif /* __LIBCAMERA_BUFFER_SOURCE_TEST_H__ */