Skip to content

Commit 0d44ed3

Browse files
authored
[circle-resizer] Resolve warning of operator<< for Shape (#15225)
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
1 parent 95b9a2a commit 0d44ed3

File tree

1 file changed

+5
-5
lines changed
  • compiler/circle-resizer/include

1 file changed

+5
-5
lines changed

compiler/circle-resizer/include/Shape.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,15 @@ class Shape
8585
*/
8686
bool operator==(const Shape &rhs) const;
8787

88-
/**
89-
* @brief Print the shape in format [1, 2, 3].
90-
*/
91-
friend std::ostream &operator<<(std::ostream &os, const Shape &shape);
92-
9388
private:
9489
std::vector<Dim> _dims;
9590
};
9691

92+
/**
93+
* @brief Print the shape in format [1, 2, 3].
94+
*/
95+
std::ostream &operator<<(std::ostream &os, const Shape &shape);
96+
9797
} // namespace circle_resizer
9898

9999
#endif // __CIRCLE_RESIZER_SHAPE_H__

0 commit comments

Comments
 (0)