From 4d2de4ea40477c7ff46937307f97091e6d73e78b Mon Sep 17 00:00:00 2001 From: Augustin Cavalier Date: Mon, 18 May 2020 22:37:23 -0400 Subject: [PATCH] HaikuDepot: Fix GCC2 build. --- src/apps/haikudepot/ui/FeaturedPackagesView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +}