Skip to content

Commit 42d1250

Browse files
committed
reference fixes
1 parent 299e7ca commit 42d1250

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/boost/redis/adapter/any_adapter.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,15 @@ class any_adapter
6464
/**
6565
* @brief Constructor.
6666
*
67-
* Creates a type-erased response adapter from `response` by calling
68-
* @ref boost_redis_adapt. `T` must be a valid Redis response type.
67+
* Creates a type-erased response adapter from `resp` by calling
68+
* `boost_redis_adapt`. `T` must be a valid Redis response type.
6969
* Any type passed to @ref connection::async_exec qualifies.
7070
*
71-
* This object stores a reference to `response`, which must be kept alive
71+
* This object stores a reference to `resp`, which must be kept alive
7272
* while `*this` is being used.
7373
*/
7474
template <class T, class = std::enable_if_t<!std::is_same_v<T, any_adapter>>>
75-
explicit any_adapter(T& response) : impl_(create_impl(response)) {}
75+
explicit any_adapter(T& resp) : impl_(create_impl(resp)) {}
7676
};
7777

7878
}

0 commit comments

Comments
 (0)