diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-16 00:19:21 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-08-21 21:50:10 +0300 |
commit | acf721323086cae254bba63e9953a7730162e8aa (patch) | |
tree | 6d5f82fbe2bbb8bd59ba7e8d96f8d63cc432aa19 /package | |
parent | a69958fcd6c7bf394859f5c5177c4a685f512f45 (diff) |
libcamera: yaml_parser: De-duplicate common code in YamlObject::get()
The specializations of the YamlObject::get() function template for
integer types duplicate code that doesn't directly depend on the
template type argument. Move it to separate helper functions to reduce
the object size.
While at it, rephrase the comment about unsigned integer parsing.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions