summaryrefslogtreecommitdiff
path: root/include/libcamera/internal/source_paths.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcamera/internal/source_paths.h')
-rw-r--r--include/libcamera/internal/source_paths.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/libcamera/internal/source_paths.h b/include/libcamera/internal/source_paths.h
index 111c25b0..be6f153b 100644
--- a/include/libcamera/internal/source_paths.h
+++ b/include/libcamera/internal/source_paths.h
@@ -4,8 +4,8 @@
*
* source_paths.h - Identify libcamera source and build paths
*/
-#ifndef __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__
-#define __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__
+
+#pragma once
#include <string>
@@ -15,5 +15,3 @@ std::string libcameraBuildPath();
std::string libcameraSourcePath();
} /* namespace libcamera::utils */
-
-#endif /* __LIBCAMERA_INTERNAL_SOURCE_PATHS_H__ */