PL-SLAM icon indicating copy to clipboard operation
PL-SLAM copied to clipboard

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

Open Mr-brillianter opened this issue 2 years ago • 0 comments

/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;
    }
    

Mr-brillianter avatar Sep 04 '22 08:09 Mr-brillianter