From 37958dfd713dd00d4a71a78a6a45f8016ad82e65 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Fri, 29 Apr 2022 03:59:45 +0300 Subject: 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 Reviewed-by: Kieran Bingham --- src/android/yuv/post_processor_yuv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/android/yuv') diff --git a/src/android/yuv/post_processor_yuv.cpp b/src/android/yuv/post_processor_yuv.cpp index 9f883924..513c6ef8 100644 --- a/src/android/yuv/post_processor_yuv.cpp +++ b/src/android/yuv/post_processor_yuv.cpp @@ -34,8 +34,8 @@ int PostProcessorYuv::configure(const StreamConfiguration &inCfg, if (inCfg.size < outCfg.size) { LOG(YUV, Error) << "Up-scaling is not supported" - << " (from " << inCfg.size.toString() - << " to " << outCfg.size.toString() << ")"; + << " (from " << inCfg.size + << " to " << outCfg.size << ")"; return -EINVAL; } -- cgit v1.2.1