Skip to content

Extra initialization of class member #2106

Open
@SergeyKopienko

Description

@SergeyKopienko

Extra initialization of class member have place here:

explicit discard_block_engine(const _Engine& __e) : engine_(__e), n_(0) {}

Initialization of n_(0) is not required because the n_ field already defined as:

::std::size_t n_ = 0;

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