Skip to content

Commit bf4d623

Browse files
committed
trivial
1 parent 58af97d commit bf4d623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp.fp/optional/optional.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ auto to_int(string_view s) -> optional<int>
2121

2222
int main(int argc, char* argv[])
2323
{
24-
vector_opt<string> v= { "1234", "15 foo", "bar", "42", "5000", " 5" };
24+
vector_opt<string> v = { "1234", "15 foo", "bar", "42", "5000", " 5" };
2525

2626
auto filter = [](auto&& o) {
2727
return o.and_then(to_int) // flatmap from str to int

0 commit comments

Comments
 (0)