summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-08 05:30:20 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-06-10 16:48:18 +0300
commit33d71af84e64d28be278234bf5a152aee67c9013 (patch)
treea8ad2d5fbc875807567fa6703d35907f3225705a /utils
parent7a88b212e0107299b277dae8657476bc8d5d2b0f (diff)
libcamera: pipeline: rkisp1: Avoid usage of dynamic_cast<>
The logic of the code guarantees that the PipelineHandler pointer passed to the RkISP1Frames constructor is an instance of PipelineHandlerRkISP1. We can thus use static_cast<> instead of dynamic_cast<>. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions