Hopefully pacify GCC 4.8.x
This commit is contained in:
parent
72ca36535a
commit
7305b20483
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ FGParking* FGAirportDynamics::innerGetAvailableParking(double radius, const stri
|
||||||
// sort by increasing radius, so we return the smallest radius candidate
|
// sort by increasing radius, so we return the smallest radius candidate
|
||||||
// this avoids large spaces (A380 sized) being given to Fokkers/ATR-72s
|
// this avoids large spaces (A380 sized) being given to Fokkers/ATR-72s
|
||||||
std::sort(candidates.begin(), candidates.end(),
|
std::sort(candidates.begin(), candidates.end(),
|
||||||
[](const FGParkingRef& a, FGParkingRef& b) {
|
[](const FGParkingRef& a, const FGParkingRef& b) {
|
||||||
return a->getRadius() < b->getRadius();
|
return a->getRadius() < b->getRadius();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue