aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 02:26:14 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-24 02:26:14 +0000
commit2c34ccbc324fcf70aa11c1e780f966a4ad710573 (patch)
treedd7c8695d6604c57f5f1e6333977de350d0e6bde
parentb78a0e97b3fdf8bc69d2991a10d97b6bec06d764 (diff)
downloadpaludis-2c34ccbc324fcf70aa11c1e780f966a4ad710573.tar.gz
paludis-2c34ccbc324fcf70aa11c1e780f966a4ad710573.tar.xz
120% speed improvement
-rw-r--r--paludis/portage_repository.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index a569666..b11af14 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -559,12 +559,12 @@ PortageRepository::need_virtual_names() const
Context context("When loading virtual names:");
_implementation->add_profile(_implementation->profile.realpath());
_implementation->has_profile = true;
- }
- for (std::map<QualifiedPackageName, PackageDepAtom::ConstPointer>::const_iterator
- v(_implementation->virtuals_map.begin()), v_end(_implementation->virtuals_map.end()) ;
- v != v_end ; ++v)
- _implementation->package_names.insert(
- std::make_pair(v->first, false));
+ for (std::map<QualifiedPackageName, PackageDepAtom::ConstPointer>::const_iterator
+ v(_implementation->virtuals_map.begin()), v_end(_implementation->virtuals_map.end()) ;
+ v != v_end ; ++v)
+ _implementation->package_names.insert(
+ std::make_pair(v->first, false));
+ }
}