Skip to content

Warning: cannot refer to a non-static member from the handler of a constructor function try blockΒ #15

@Pesa

Description

@Pesa

With a development snapshot of clang 19 on Ubuntu 22.04/24.04:

  ../scope-lite.hpp:988:40: warning: cannot refer to a non-static member from the handler of a constructor function try block [-Wexceptions]
    988 |             other.get_deleter()( this->get() );
        |                                        ^
  1 warning generated.

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