Skip to content

compiler warnings on implicit capture of "this" in client.cpp #118

Open
@yuvalif

Description

@yuvalif

when compiler as a submodule with g++ v11, i get many of these compiler warnings;

sources/core/client.cpp:...:19: note: add explicit ‘this’ or ‘*this’ capture
sources/core/client.cpp: In lambda function:
sources/core/client.cpp:...:19: warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated]           

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions