summaryrefslogtreecommitdiff
path: root/test/media_device/media_device_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/media_device/media_device_test.h')
-rw-r--r--test/media_device/media_device_test.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/media_device/media_device_test.h b/test/media_device/media_device_test.h
index a88de56c..9b226f1a 100644
--- a/test/media_device/media_device_test.h
+++ b/test/media_device/media_device_test.h
@@ -4,8 +4,8 @@
*
* media_device_test.h - libcamera media device test base class
*/
-#ifndef __LIBCAMERA_MEDIADEVICE_TEST_H__
-#define __LIBCAMERA_MEDIADEVICE_TEST_H__
+
+#pragma once
#include <memory>
@@ -28,5 +28,3 @@ protected:
private:
std::unique_ptr<libcamera::DeviceEnumerator> enumerator_;
};
-
-#endif /* __LIBCAMERA_MEDIADEVICE_TEST_H__ */