Skip to content

cps_class_attr_is_embedded() returns wrong data type #25

@mabnhdev

Description

@mabnhdev

The function cps_class_attr_is_embedded() is defined to return a bool type. In the "false" case, it returns a nullptr with no cast. This is a build error with certain compiles.

I suggest the following fix.

Change...
if (p==nullptr) return nullptr;
To...
if (p==nullptr) return false;

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