loop: rename variable to fix -Wshadow warning (#297)
This commit is contained in:
parent
36b586f7d3
commit
9c88a9b352
@ -278,9 +278,9 @@ public:
|
||||
*/
|
||||
template<typename Func>
|
||||
void walk(Func callback) {
|
||||
auto func = [](uv_handle_t *hndl, void *func) {
|
||||
auto func = [](uv_handle_t *hndl, void *callback_func) {
|
||||
if(hndl->data) {
|
||||
auto &cb = *static_cast<Func *>(func);
|
||||
auto &cb = *static_cast<Func *>(callback_func);
|
||||
|
||||
switch(utilities::guess_handle(handle_category{hndl->type})) {
|
||||
case handle_type::ASYNC:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user