From 874e9dafc21be04048d9bba4842555f8baaf3c0a Mon Sep 17 00:00:00 2001 From: Tomas Date: Mon, 7 Nov 2016 14:39:04 +0200 Subject: [PATCH] Fix bug with ostream operator>> for Transform --- corelib/src/Transform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/corelib/src/Transform.cpp b/corelib/src/Transform.cpp index bb7fe904..94ce3daa 100644 --- a/corelib/src/Transform.cpp +++ b/corelib/src/Transform.cpp @@ -282,9 +282,9 @@ std::ostream& operator<<(std::ostream& os, const Transform& s) { for(int j = 0; j < 4; ++j) { - std::cout << std::left << std::setw(12) << s.data()[i*4 + j]; + os << std::left << std::setw(12) << s.data()[i*4 + j]; } - std::cout << std::endl; + os << std::endl; } return os; }