From c05531b3143ea792aa052720d35766e8b1ccb1ec Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 2 Aug 2011 12:07:42 +0200 Subject: [PATCH] Added const qualifier --- storage/country.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/country.cpp b/storage/country.cpp index 37c03b1422..4aa3861334 100644 --- a/storage/country.cpp +++ b/storage/country.cpp @@ -145,7 +145,7 @@ namespace storage TTilesContainer::const_iterator const first = sortedTiles.begin(); TTilesContainer::const_iterator const last = sortedTiles.end(); string const nameWithExt = *tokIt + DATA_FILE_EXTENSION; - TTilesContainer::const_iterator found = lower_bound( + TTilesContainer::const_iterator const found = lower_bound( first, last, TTile(nameWithExt, 0)); if (found != last && !(nameWithExt < found->first)) currentCountry->AddTile(*found);