Skip to content

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

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]           

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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