Skip to content

Commit 34ff1ce

Browse files
committed
Fixes #121
1 parent 10603b7 commit 34ff1ce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/cpp20_streams.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ auto stream_reader(std::shared_ptr<connection> conn) -> net::awaitable<void>
4141
req.push("XREAD", "BLOCK", "0", "STREAMS", "test-topic", stream_id);
4242
co_await conn->async_exec(req, resp, net::deferred);
4343

44-
// std::cout << "Response: ";
45-
// for (int i = 0; i < resp->value().size(); ++i) {
46-
// std::cout << resp->value().at(i).value << ", ";
47-
// }
48-
// std::cout << std::endl;
44+
//std::cout << "Response: ";
45+
//for (auto i = 0UL; i < resp->size(); ++i) {
46+
// std::cout << resp->at(i).value << ", ";
47+
//}
48+
//std::cout << std::endl;
4949

5050
// The following approach was taken in order to be able to
5151
// deal with the responses, as generated by redis in the case

0 commit comments

Comments
 (0)