Skip to content

Commit 1f9b3e8

Browse files
committed
Rebase the branch on develop.
1 parent 3808fec commit 1f9b3e8

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,7 @@ Acknowledgement to people that helped shape Boost.Redis
678678
* Mohammad Nejati ([ashtum](https://github.com/ashtum)): For pointing out scenarios where calls to `async_exec` should fail when the connection is lost.
679679
* Klemens Morgenstern ([klemens-morgenstern](https://github.com/klemens-morgenstern)): For useful discussion about timeouts, cancellation, synchronous interfaces and general help with Asio.
680680
* Vinnie Falco ([vinniefalco](https://github.com/vinniefalco)): For general suggestions about how to improve the code and the documentation.
681+
* Bram Veldhoen ([bveldhoen](https://github.com/bveldhoen)): For contributing a Redis streams example.
681682

682683
Also many thanks to all individuals that participated in the Boost
683684
review
@@ -702,6 +703,8 @@ https://lists.boost.org/Archives/boost/2023/01/253944.php.
702703

703704
### master (incorporates changes to conform the boost review and more)
704705

706+
* Adds Redis stream example.
707+
705708
* Renames the project to Boost.Redis and moves the code into namespace
706709
`boost::redis`.
707710

examples/cpp20_intro_tls.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ auto verify_certificate(bool, net::ssl::verify_context&) -> bool
2828

2929
auto co_main(config cfg) -> net::awaitable<void>
3030
{
31-
config cfg;
3231
cfg.username = "aedis";
3332
cfg.password = "aedis";
3433
cfg.addr.host = "db.occase.de";

examples/cpp20_protobuf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ void boost_redis_from_bulk(person& u, std::string_view sv, boost::system::error_
4444
using tutorial::boost_redis_to_bulk;
4545
using tutorial::boost_redis_from_bulk;
4646

47-
net::awaitable<void> co_main(config const& cfg)
47+
net::awaitable<void> co_main(config cfg)
4848
{
4949
auto ex = co_await net::this_coro::executor;
5050
auto conn = std::make_shared<connection>(ex);

tests/cpp20_low_level_async.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ using boost::redis::request;
2525
using boost::redis::adapter::result;
2626
using redis::config;
2727

28-
auto co_main(config const& cfg) -> net::awaitable<void>
28+
auto co_main(config cfg) -> net::awaitable<void>
2929
{
3030
auto ex = co_await net::this_coro::executor;
3131

tests/issue_50.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ periodic_task(std::shared_ptr<connection> conn) -> net::awaitable<void>
8181
conn->cancel(operation::reconnection);
8282
}
8383

84-
auto co_main(config const& cfg) -> net::awaitable<void>
84+
auto co_main(config cfg) -> net::awaitable<void>
8585
{
8686
auto ex = co_await net::this_coro::executor;
8787
auto conn = std::make_shared<connection>(ex);

0 commit comments

Comments
 (0)