summaryrefslogtreecommitdiff
path: root/include/libcamera/base/object.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/object.h')
-rw-r--r--include/libcamera/base/object.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/base/object.h b/include/libcamera/base/object.h
index 5c385ab4..25dcbc04 100644
--- a/include/libcamera/base/object.h
+++ b/include/libcamera/base/object.h
@@ -4,8 +4,8 @@
*
* object.h - Base object
*/
-#ifndef __LIBCAMERA_BASE_OBJECT_H__
-#define __LIBCAMERA_BASE_OBJECT_H__
+
+#pragma once
#include <list>
#include <memory>
@@ -67,5 +67,3 @@ private:
};
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_BASE_OBJECT_H__ */