From 360cb4fa1c25b4c94d874a041421b567e671ece9 Mon Sep 17 00:00:00 2001 From: Mateusz Bencer Date: Thu, 24 Apr 2025 13:56:45 +0200 Subject: [PATCH] [circle-resizer] Resolve warning of operator<< for Shape MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit resolves warning "circle_resizer::operator<< has not been declared within ‘circle_resizer’" ONE-DCO-1.0-Signed-off-by: Mateusz Bencer m.bencer@partner.samsung.com --- compiler/circle-resizer/include/Shape.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/circle-resizer/include/Shape.h b/compiler/circle-resizer/include/Shape.h index 5b5d6debdba..91af8ec2da0 100644 --- a/compiler/circle-resizer/include/Shape.h +++ b/compiler/circle-resizer/include/Shape.h @@ -85,15 +85,15 @@ class Shape */ bool operator==(const Shape &rhs) const; - /** - * @brief Print the shape in format [1, 2, 3]. - */ - friend std::ostream &operator<<(std::ostream &os, const Shape &shape); - private: std::vector _dims; }; +/** + * @brief Print the shape in format [1, 2, 3]. + */ +std::ostream &operator<<(std::ostream &os, const Shape &shape); + } // namespace circle_resizer #endif // __CIRCLE_RESIZER_SHAPE_H__