Fix for compilation with MinGW

pull/634/head
Hleb Valoshka 2020-02-18 13:19:28 +03:00
parent 097c0d7d10
commit a78f09d054
1 changed files with 1 additions and 1 deletions

View File

@ -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);