Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

HashedExpression class needs null check or variable needs default value. #5916

@Patrick-Gourdet

Description

@Patrick-Gourdet

`// An expression with a cached hash value

struct HashedExpression {

Expression* expr;
// This variable was throwing an error on build.
size_t hash = 0; // I just initialized it to 0 but a null check would be more elegant.
`

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