diff --git a/src/apps/haikudepot/ui/FeaturedPackagesView.cpp b/src/apps/haikudepot/ui/FeaturedPackagesView.cpp index eb3d75c6dd..10427ccc54 100644 --- a/src/apps/haikudepot/ui/FeaturedPackagesView.cpp +++ b/src/apps/haikudepot/ui/FeaturedPackagesView.cpp @@ -240,7 +240,7 @@ public: // insertion point by identifying the first item in fPackages that does // not return true from the method '_IsPackageBefore'. - std::vector::const_iterator itInsertionPt + std::vector::iterator itInsertionPt = std::lower_bound(fPackages.begin(), fPackages.end(), package, &_IsPackageBefore); @@ -710,4 +710,4 @@ void FeaturedPackagesView::CleanupIcons() { sInstalledIcon.Unset(); -} \ No newline at end of file +}