summaryrefslogtreecommitdiff
path: root/test/serialization
diff options
context:
space:
mode:
Diffstat (limited to 'test/serialization')
-rw-r--r--test/serialization/serialization_test.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/serialization/serialization_test.h b/test/serialization/serialization_test.h
index d654c7bf..609f9fdf 100644
--- a/test/serialization/serialization_test.h
+++ b/test/serialization/serialization_test.h
@@ -4,8 +4,8 @@
*
* serialization_test.h - Base class for serialization tests
*/
-#ifndef __LIBCAMERA_SERIALIZATION_TEST_H__
-#define __LIBCAMERA_SERIALIZATION_TEST_H__
+
+#pragma once
#include <libcamera/camera.h>
#include <libcamera/camera_manager.h>
@@ -27,5 +27,3 @@ public:
static bool equals(const libcamera::ControlList &lhs,
const libcamera::ControlList &rhs);
};
-
-#endif /* __LIBCAMERA_SERIALIZATION_TEST_H__ */