diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-02-26 02:46:33 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-02-28 18:41:52 +0100 |
commit | 132ce9c1cf6951d8cba8ff6ff5fbccadead385c1 (patch) | |
tree | d01cf52e2e68f468456907b335e24f8a6c85273d /licenses/gnu-gpl-2.0.txt | |
parent | dc01a5bc43787ac8bf8f16683383f60265326f27 (diff) |
libcamera: store stream pointers in sets instead of a vectors
The arrays that store Stream pointers shall always contain unique
values. Storing them in vectors opens up for the same stream pointer
appearing twice. Remove this possibility by storing them in a set which
guarantees each element is unique.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'licenses/gnu-gpl-2.0.txt')
0 files changed, 0 insertions, 0 deletions