Skip to content

Commit 56d7539

Browse files
committed
[code] format
1 parent c9aae62 commit 56d7539

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

libs/libvtrutil/src/vtr_geometry.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ class Point {
7171
T y() const;
7272

7373
///@brief == operator
74-
friend bool operator==<>(Point<T> lhs, Point<T> rhs);
74+
friend bool operator== <>(Point<T> lhs, Point<T> rhs);
7575

7676
///@brief != operator
77-
friend bool operator!=<>(Point<T> lhs, Point<T> rhs);
77+
friend bool operator!= <>(Point<T> lhs, Point<T> rhs);
7878

7979
///@brief < operator
8080
friend bool operator< <>(Point<T> lhs, Point<T> rhs);
@@ -172,10 +172,10 @@ class Rect {
172172
bool empty() const;
173173

174174
///@brief == operator
175-
friend bool operator==<>(const Rect<T>& lhs, const Rect<T>& rhs);
175+
friend bool operator== <>(const Rect<T>& lhs, const Rect<T>& rhs);
176176

177177
///@brief != operator
178-
friend bool operator!=<>(const Rect<T>& lhs, const Rect<T>& rhs);
178+
friend bool operator!= <>(const Rect<T>& lhs, const Rect<T>& rhs);
179179

180180
public: //Mutators
181181
///@brief set xmin to a point
@@ -296,10 +296,10 @@ class RectUnion {
296296
*
297297
* Note: does not check whether the representations they are equivalent
298298
*/
299-
friend bool operator==<>(const RectUnion<T>& lhs, const RectUnion<T>& rhs);
299+
friend bool operator== <>(const RectUnion<T>& lhs, const RectUnion<T>& rhs);
300300

301301
///@brief != operator
302-
friend bool operator!=<>(const RectUnion<T>& lhs, const RectUnion<T>& rhs);
302+
friend bool operator!= <>(const RectUnion<T>& lhs, const RectUnion<T>& rhs);
303303

304304
private:
305305
// Note that a union of rectanges may have holes and may not be contiguous

libs/libvtrutil/src/vtr_strong_id.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,9 @@ class StrongId {
202202
* Note that since these are templated functions we provide an empty set of template parameters
203203
* after the function name (i.e. <>)
204204
*/
205-
friend bool operator==<>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
205+
friend bool operator== <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
206206
///@brief != operator
207-
friend bool operator!=<>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
207+
friend bool operator!= <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
208208
///@brief < operator
209209
friend bool operator< <>(const StrongId<tag, T, sentinel>& lhs, const StrongId<tag, T, sentinel>& rhs);
210210

0 commit comments

Comments
 (0)