summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/include/utils.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/libcamera/include/utils.h b/src/libcamera/include/utils.h
index a2e450b3..73fa2e69 100644
--- a/src/libcamera/include/utils.h
+++ b/src/libcamera/include/utils.h
@@ -11,7 +11,9 @@
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
-namespace libcamera::utils {
+namespace libcamera {
+
+namespace utils {
/* C++11 doesn't provide std::make_unique */
template<typename T, typename... Args>
@@ -20,6 +22,8 @@ std::unique_ptr<T> make_unique(Args&&... args)
return std::unique_ptr<T>(new T(std::forward<Args>(args)...));
}
-} /* namespace libcamera::utils */
+} /* namespace utils */
+
+} /* namespace libcamera */
#endif /* __LIBCAMERA_UTILS_H__ */