Skip to content

Commit 04c0b28

Browse files
committed
Fix type name
1 parent 1da155f commit 04c0b28

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

libs/libvtrutil/src/vtr_strong_id_range.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ class StrongIdIterator {
9696
}
9797

9898
///@brief ~ operator
99-
ssize_t operator-(const StrongIdIterator<StrongType>& other) const {
99+
ssize_t operator-(const StrongIdIterator<StrongId>& other) const {
100100
VTR_ASSERT_SAFE(bool(id_));
101101
VTR_ASSERT_SAFE(bool(other.id_));
102102

@@ -106,17 +106,17 @@ class StrongIdIterator {
106106
}
107107

108108
///@brief == operator
109-
bool operator==(const StrongIdIterator<StrongType>& other) const {
109+
bool operator==(const StrongIdIterator<StrongId>& other) const {
110110
return id_ == other.id_;
111111
}
112112

113113
///@brief != operator
114-
bool operator!=(const StrongIdIterator<StrongType>& other) const {
114+
bool operator!=(const StrongIdIterator<StrongId>& other) const {
115115
return id_ != other.id_;
116116
}
117117

118118
///@brief < operator
119-
bool operator<(const StrongIdIterator<StrongType>& other) const {
119+
bool operator<(const StrongIdIterator<StrongId>& other) const {
120120
return id_ < other.id_;
121121
}
122122

@@ -125,17 +125,17 @@ class StrongIdIterator {
125125
};
126126

127127
///@brief + operator
128-
inline StrongIdIterator<StrongType> operator+(
129-
const StrongIdIterator<StrongType>& lhs,
128+
inline StrongIdIterator<StrongId> operator+(
129+
const StrongIdIterator<StrongId>& lhs,
130130
ssize_t n) {
131131
StrongIdIterator ret = lhs;
132132
ret += n;
133133
return ret;
134134
}
135135

136136
///@brief - operator
137-
inline StrongIdIterator<StrongType> operator-(
138-
const StrongIdIterator<StrongType>& lhs,
137+
inline StrongIdIterator<StrongId> operator-(
138+
const StrongIdIterator<StrongId>& lhs,
139139
ssize_t n) {
140140
StrongIdIterator ret = lhs;
141141
ret -= n;

0 commit comments

Comments
 (0)