Skip to content

Commit 9fb1198

Browse files
authored
Update README.md
added return true to the content provider get example, doesn't compile without it
1 parent 55d04ee commit 9fb1198

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ int main(void)
196196
auto res = cli.Get("/large-data",
197197
[&](const char *data, uint64_t data_length) {
198198
body.append(data, data_length);
199+
return true;
199200
});
200201
201202
assert(res->body.empty());

0 commit comments

Comments
 (0)