Skip to content

build error because of discard const qualifiers #10

@vipcxj

Description

@vipcxj
error: passing ‘const asiochan::basic_channel<void, 0, asio::any_io_executor>’ as ‘this’ argument discards qualifiers [-fpermissive]
[build]    22 |             return &channel.shared_state() == shared_state_;
[build]       |                     ~~~~~~~~~~~~~~~~~~~~^~

I have fixed it, I will submit a pr.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions