From a78f09d054e521e8c5c1185c0a9a617c23c24a40 Mon Sep 17 00:00:00 2001 From: Hleb Valoshka <375gnu@gmail.com> Date: Tue, 18 Feb 2020 13:19:28 +0300 Subject: [PATCH] Fix for compilation with MinGW --- src/celestia/winstarbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/celestia/winstarbrowser.cpp b/src/celestia/winstarbrowser.cpp index 768f2a1db2..375c766c1d 100644 --- a/src/celestia/winstarbrowser.cpp +++ b/src/celestia/winstarbrowser.cpp @@ -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);