Skip to content

LoopClosing.cc:416:20: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++1z mnFullBAIdx++; #10

@Mr-brillianter

Description

@Mr-brillianter

/PL-SLAM/src/LoopClosing.cc:416:20: error: use of an operand of type ‘bool’ in ‘operator++’ is forbidden in C++1z
mnFullBAIdx++;

solve by following:
// mnFullBAIdx++;

    if (mnFullBAIdx==0)
  {
        mnFullBAIdx=1;
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions