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 --- test/geometry.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/geometry.cpp') diff --git a/test/geometry.cpp b/test/geometry.cpp index 51256924..008d51ea 100644 --- a/test/geometry.cpp +++ b/test/geometry.cpp @@ -25,9 +25,7 @@ protected: bool result = op(lhs, rhs); if (result != expect) { - cout << lhs.toString() - << opName << " " - << rhs.toString() + cout << lhs << opName << " " << rhs << "test failed" << std::endl; return false; } -- cgit v1.2.1