summaryrefslogtreecommitdiff
path: root/test/libtest/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/libtest/test.h')
-rw-r--r--test/libtest/test.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/libtest/test.h b/test/libtest/test.h
index 8ecf2bda..ee01a225 100644
--- a/test/libtest/test.h
+++ b/test/libtest/test.h
@@ -4,8 +4,8 @@
*
* test.h - libcamera test base class
*/
-#ifndef __TEST_TEST_H__
-#define __TEST_TEST_H__
+
+#pragma once
#include <sstream>
@@ -34,5 +34,3 @@ int main([[maybe_unused]] int argc, [[maybe_unused]] char *argv[]) \
{ \
return klass().execute(); \
}
-
-#endif /* __TEST_TEST_H__ */