diff options
author | Barnabás Pőcze <pobrn@protonmail.com> | 2025-01-21 13:16:20 +0100 |
---|---|---|
committer | Barnabás Pőcze <pobrn@protonmail.com> | 2025-02-27 11:30:23 +0100 |
commit | 8fa119e0b50f2b3bf1ce142c5dc642242e56dcd5 (patch) | |
tree | d88d09ba635aeec660cd91ae8cd9fbb04afd1c77 /include | |
parent | d40250e03b172ecc5f81299499ea0901f3d5b16d (diff) |
libcamera: base: log: Use `std::from_chars()`
Use the `std::from_chars()` function from `<charconv>` to
parse the integral log level instead of `strtoul` as it
provides an easier to use interface and better type safety.
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions