libcamera: global_configuration: Add missing include and comment
global_configuration.h uses std::initializer_list, include the corresponding header. Add a comment in global_configuration.cpp to close an anonymous namespace, as mandated by the coding style. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> Reviewed-by: Isaac Scott <isaac.scott@ideasonboard.com>
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <filesystem>
|
||||
#include <initializer_list>
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
@@ -24,11 +24,13 @@
|
||||
namespace libcamera {
|
||||
|
||||
namespace {
|
||||
|
||||
const std::vector<std::filesystem::path> globalConfigurationFiles = {
|
||||
std::filesystem::path(LIBCAMERA_SYSCONF_DIR) / "configuration.yaml",
|
||||
std::filesystem::path(LIBCAMERA_DATA_DIR) / "configuration.yaml",
|
||||
};
|
||||
}
|
||||
|
||||
} /* namespace */
|
||||
|
||||
LOG_DEFINE_CATEGORY(Configuration)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user