libcamera: yaml_parser: Add get() specializations for 16-bit integers
Extend the YamlObject::get() function template to support 16-bit integers. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Han-Lin Chen <hanlinchen@chromium.org>
This commit is contained in:
parent
839c4a5a48
commit
c7d260c03a
2 changed files with 63 additions and 0 deletions
|
@ -156,6 +156,8 @@ public:
|
|||
typename std::enable_if_t<
|
||||
std::is_same_v<bool, T> ||
|
||||
std::is_same_v<double, T> ||
|
||||
std::is_same_v<int16_t, T> ||
|
||||
std::is_same_v<uint16_t, T> ||
|
||||
std::is_same_v<int32_t, T> ||
|
||||
std::is_same_v<uint32_t, T> ||
|
||||
std::is_same_v<std::string, T> ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue