Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Pesa opened this issue Jun 18, 2024 · 0 comments

Comments

@Pesa
Copy link

Pesa commented Jun 18, 2024

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant