bethesirius / ChosunTruck

Euro Truck Simulator 2 autonomous driving solution
732 stars 104 forks source link

refactored LineFinder::drawDetectedLines #15

Closed Red-Portal closed 7 years ago

Red-Portal commented 7 years ago

refactored LineFinder::drawDetectedLines to a ranged-for loop

chi3236 commented 7 years ago

The changed code makes compile error

Red-Portal commented 7 years ago

What's the version of your compiler? I suppose msvc? Which one?

Red-Portal commented 7 years ago

What's the error message?

chi3236 commented 7 years ago

default The compiler version is msvc 19.0

Red-Portal commented 7 years ago

Ah, can you try to change "auto it2&&" to "auto const& it2" ? That should work