Skip to content

Commit 1b1710a

Browse files
committed
update html
1 parent 63d65f6 commit 1b1710a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

06_min_max.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,9 +200,9 @@ <h3>Correct implementation</h3>
200200
inline
201201
const T&amp; min(const T&amp; a, const T&amp; b, Compare cmp) {
202202
if (cmp(b, a)) {
203-
return a;
203+
return b;
204204
} else {
205-
return b;
205+
return a;
206206
}
207207
}
208208
</code></pre>

0 commit comments

Comments
 (0)