summaryrefslogtreecommitdiff
path: root/include/libcamera/base/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/base/log.h')
-rw-r--r--include/libcamera/base/log.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/base/log.h b/include/libcamera/base/log.h
index 866a2133..3f065267 100644
--- a/include/libcamera/base/log.h
+++ b/include/libcamera/base/log.h
@@ -4,8 +4,8 @@
*
* log.h - Logging infrastructure
*/
-#ifndef __LIBCAMERA_BASE_LOG_H__
-#define __LIBCAMERA_BASE_LOG_H__
+
+#pragma once
#include <chrono>
#include <sstream>
@@ -128,5 +128,3 @@ LogMessage _log(const LogCategory *category, LogSeverity severity,
#endif
} /* namespace libcamera */
-
-#endif /* __LIBCAMERA_BASE_LOG_H__ */