Skip to content

Commit d0cb462

Browse files
hewillktkoeppe
authored andcommitted
[range.adjacent.overview] Fix multi-character in example
1 parent b4bf594 commit d0cb462

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ranges.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8926,7 +8926,7 @@
89268926
vector v = {1, 2, 3, 4};
89278927

89288928
for (auto i : v | views::adjacent<2>) {
8929-
cout << '(' << i.first << ', ' << i.second << ") "; // prints: (1, 2) (2, 3) (3, 4)
8929+
cout << "(" << i.first << ", " << i.second << ") "; // prints: (1, 2) (2, 3) (3, 4)
89308930
}
89318931
\end{codeblock}
89328932
\end{example}

0 commit comments

Comments
 (0)