HarborC / PL-SLAM

PL-SLAM: The method is implemented in《PL-SLAM:Real-time Monocular Visual SLAM with Points and Lines》
Other
223 stars 60 forks source link

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

Open Mr-brillianter opened 2 years ago

Mr-brillianter commented 2 years ago

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