diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-05-03 03:08:20 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-05-03 17:58:43 +0300 |
commit | e0318c4776549a0db0a06682e906310970c8caf9 (patch) | |
tree | 9cb6f87b00ed4baad070952071e7597ac0d9e4d1 /test/libtest | |
parent | 7235248d38434f4c3e8a163ab03637ac115bdda8 (diff) |
libcamera: utils: Avoid infinite recursion with strtod()
When the C library doesn't provide local object support, the
utils::strtod() function simply calls strtod() from the C library. The
current implementation does so incorrectly, and calls utils::strtod()
instead, resulting in infinite recursion. Fix it with a proper namespace
qualifier.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com>
Diffstat (limited to 'test/libtest')
0 files changed, 0 insertions, 0 deletions