Skip to content

Commit 7d8342f

Browse files
authored
Update range_adaptor_closure.md
1 parent 2eb18f4 commit 7d8342f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/ranges/range_adaptor_closure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ inline constexpr positive_impl positive;
145145
int main() {
146146
std::vector v = {0, -1, 2, -3, 4, -5, 6, -7};
147147

148-
std::println(v | positive);
148+
std::println("{}", v | positive);
149149
}
150150
```
151151
* std::ranges::range_adaptor_closure[color ff0000]

0 commit comments

Comments
 (0)