summaryrefslogtreecommitdiff
path: root/test/libtest/camera_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest/camera_test.h')
-rw-r--r--test/libtest/camera_test.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/libtest/camera_test.h b/test/libtest/camera_test.h
index 23122245..0b178bc2 100644
--- a/test/libtest/camera_test.h
+++ b/test/libtest/camera_test.h
@@ -4,8 +4,8 @@
*
* camera_test.h - libcamera camera test base class
*/
-#ifndef __LIBCAMERA_CAMERA_TEST_H__
-#define __LIBCAMERA_CAMERA_TEST_H__
+
+#pragma once
#include <memory>
@@ -23,5 +23,3 @@ protected:
std::shared_ptr<libcamera::Camera> camera_;
int status_;
};
-
-#endif /* __LIBCAMERA_CAMERA_TEST_H__ */