diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-04-29 03:59:45 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-05-04 14:11:25 +0300 |
commit | 37958dfd713dd00d4a71a78a6a45f8016ad82e65 (patch) | |
tree | c8f958dc5a9877d6d6afe95bcf8e960e3ca1f722 /src/libcamera/v4l2_subdevice.cpp | |
parent | 4f1d1a48fe7ebe1282d7608a59cb059e1367e584 (diff) |
libcamera: Replace toString with operator<<() for geometry classes
Now that geometry classes implement the stream formatting operator<<(),
use it instead of the toString() function.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/libcamera/v4l2_subdevice.cpp')
-rw-r--r-- | src/libcamera/v4l2_subdevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/v4l2_subdevice.cpp b/src/libcamera/v4l2_subdevice.cpp index fa216e85..d5ae4605 100644 --- a/src/libcamera/v4l2_subdevice.cpp +++ b/src/libcamera/v4l2_subdevice.cpp @@ -191,7 +191,7 @@ const std::map<uint32_t, V4L2SubdeviceFormatInfo> formatInfoMap = { const std::string V4L2SubdeviceFormat::toString() const { std::stringstream mbus; - mbus << size.toString() << "-"; + mbus << size << "-"; const auto it = formatInfoMap.find(mbus_code); |