summaryrefslogtreecommitdiff
path: root/test/threads.cpp
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-21 11:55:49 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-02-24 09:36:46 +0000
commit80d70e4fcf6c8aa92c3097414b90325e855bab6e (patch)
treed1544565a14f9d45aaa23fbb961b638648f47877 /test/threads.cpp
parent7860977710f4365557f35aa19f2dc5f150030de3 (diff)
libcamera: ipa_manager: Simplify addDir() usage
The addDir call only returns an error if it can't open the directory. Callers only care about the number of modules added, and discard any error information. Simplify the return value and calling code by returning an unsigned int of the number of modules loaded. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/threads.cpp')
0 files changed, 0 insertions, 0 deletions