Fix for compilation with MinGW
parent
097c0d7d10
commit
a78f09d054
|
@ -192,7 +192,7 @@ FindStars(const StarDatabase& stardb, Pred pred, int nStars)
|
|||
|
||||
// Move the best matching stars into the vector
|
||||
finalStars->reserve(nStars);
|
||||
for (StarSet::const_iterator iter = firstStars.begin();
|
||||
for (typename StarSet::const_iterator iter = firstStars.begin();
|
||||
iter != firstStars.end(); iter++)
|
||||
{
|
||||
finalStars->insert(finalStars->end(), *iter);
|
||||
|
|
Loading…
Reference in New Issue