Skip to content

Incorrect wrapping code #44

@haelix888

Description

@haelix888

The code at
native_method:328 seems incorrect, why would you do std::decay_t&?

Comment mine:
auto wrapper = [field, initializer] (JNIEnv& e, Object& obj, /std::decay_t&/Args... args) // TODO why reference?

This causes wrapping of constructors to fail.

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