diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-15 16:58:55 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-01-16 18:23:43 +0200 |
commit | f388aa7041d90cbc957e33ff90a5122a3c5237e6 (patch) | |
tree | bcbd090297cb24da3cba6adbc135ebdb08e03c25 /test/libtest | |
parent | 3e6090a17aa06a654588c395748f81d3c821d033 (diff) |
libcamera: device_enumerator: Don't mark the search() function as const
While the DeviceEnumerator::search() function doesn't modify the
instance directly, it returns a non-const pointer to a MediaEntity that
is owned by the DeviceEnumerator instance. This breaks the const
semantics. Don't mark the function as const.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/libtest')
0 files changed, 0 insertions, 0 deletions