libcamera: camera_sensor: Drop const on the return value of sizes()

The sizes() function returns a value, not a reference. There's no need
for it to be const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Umang Jain <umang.jain@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
This commit is contained in:
Laurent Pinchart
2022-04-02 09:16:59 +03:00
parent 8f4238a390
commit 1a9587b8f2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -526,7 +526,7 @@ int CameraSensor::discoverAncillaryDevices()
*
* \return The supported frame sizes for \a mbusCode sorted in increasing order
*/
const std::vector<Size> CameraSensor::sizes(unsigned int mbusCode) const
std::vector<Size> CameraSensor::sizes(unsigned int mbusCode) const
{
std::vector<Size> sizes;