Skip to content

BitFlags::anyIntersectionWith is a duplicate of BitFlags::testForAny #2468

@xezon

Description

@xezon

If I am not mistaken.

Simpler:

Bool testForAny(const BitFlags& that) const
{
    return (m_bits & that.m_bits).any();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    InvestigateRefactorEdits the code with insignificant behavior changes, is never user facing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions