equal
deleted
inserted
replaced
142 struct PathDumperConstraints { |
142 struct PathDumperConstraints { |
143 void constraints() { |
143 void constraints() { |
144 int l = p.length(); |
144 int l = p.length(); |
145 int e = p.empty(); |
145 int e = p.empty(); |
146 |
146 |
147 typename _Path::EdgeIt id, ii(INVALID), i(p); |
147 typename _Path::EdgeIt id, i(p); |
148 |
148 |
149 ++i; |
149 ++i; |
150 typename _Graph::Edge ed = i; |
150 typename _Graph::Edge ed = i; |
151 |
151 |
152 e = (i == ii); |
152 e = (i == INVALID); |
153 e = (i != ii); |
153 e = (i != INVALID); |
154 e = (i < ii); |
|
155 |
154 |
156 ignore_unused_variable_warning(l); |
155 ignore_unused_variable_warning(l); |
157 ignore_unused_variable_warning(e); |
156 ignore_unused_variable_warning(e); |
158 ignore_unused_variable_warning(id); |
157 ignore_unused_variable_warning(id); |
159 ignore_unused_variable_warning(ii); |
|
160 ignore_unused_variable_warning(ed); |
158 ignore_unused_variable_warning(ed); |
161 } |
159 } |
162 _Path& p; |
160 _Path& p; |
163 }; |
161 }; |
164 |
162 |
169 > { |
167 > { |
170 void constraints() { |
168 void constraints() { |
171 int l = p.length(); |
169 int l = p.length(); |
172 int e = p.empty(); |
170 int e = p.empty(); |
173 |
171 |
174 typename _Path::RevEdgeIt id, ii(INVALID), i(p); |
172 typename _Path::RevEdgeIt id, i(p); |
175 |
173 |
176 ++i; |
174 ++i; |
177 typename _Graph::Edge ed = i; |
175 typename _Graph::Edge ed = i; |
178 |
176 |
179 e = (i == ii); |
177 e = (i == INVALID); |
180 e = (i != ii); |
178 e = (i != INVALID); |
181 e = (i < ii); |
|
182 |
179 |
183 ignore_unused_variable_warning(l); |
180 ignore_unused_variable_warning(l); |
184 ignore_unused_variable_warning(e); |
181 ignore_unused_variable_warning(e); |
185 ignore_unused_variable_warning(id); |
182 ignore_unused_variable_warning(id); |
186 ignore_unused_variable_warning(ii); |
|
187 ignore_unused_variable_warning(ed); |
183 ignore_unused_variable_warning(ed); |
188 } |
184 } |
189 _Path& p; |
185 _Path& p; |
190 }; |
186 }; |
191 |
187 |