aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-10 23:57:07 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-07-10 23:57:07 +0100
commit7ce03892066f69d3bf0be2e942d2a0e0e1932345 (patch)
tree13f35f34f5a7b3813ed1f16d70937bf853fd84c9
parentc73d224aab2ad843b9791351727c7e45e4b4b0d5 (diff)
downloadpaludis-7ce03892066f69d3bf0be2e942d2a0e0e1932345.tar.gz
paludis-7ce03892066f69d3bf0be2e942d2a0e0e1932345.tar.xz
Pointless parens to shut 4.3.1 up
-rw-r--r--src/clients/gtkpaludis/libgtkpaludis/packages_list_model.cc30
1 files changed, 18 insertions, 12 deletions
diff --git a/src/clients/gtkpaludis/libgtkpaludis/packages_list_model.cc b/src/clients/gtkpaludis/libgtkpaludis/packages_list_model.cc
index 13a6312..833c4de 100644
--- a/src/clients/gtkpaludis/libgtkpaludis/packages_list_model.cc
+++ b/src/clients/gtkpaludis/libgtkpaludis/packages_list_model.cc
@@ -140,18 +140,22 @@ namespace
std::string status;
std::tr1::shared_ptr<const PackageIDSequence> ci(
(*environment)[selection::AllVersionsSorted(
- generator::Matches(pds) &
- generator::Matches(make_package_dep_spec()
- .package(id->name())
- .slot_requirement(make_shared_ptr(new UserSlotExactRequirement(id->slot())))) |
+ (
+ generator::Matches(pds) &
+ generator::Matches(make_package_dep_spec()
+ .package(id->name())
+ .slot_requirement(make_shared_ptr(new UserSlotExactRequirement(id->slot()))))
+ ) |
filter::InstalledAtRoot(environment->root()))]);
std::tr1::shared_ptr<const PackageIDSequence> av(
(*environment)[selection::AllVersionsSorted(
- generator::Matches(pds) &
- generator::Matches(make_package_dep_spec()
- .package(id->name())
- .slot_requirement(make_shared_ptr(new UserSlotExactRequirement(id->slot())))) |
+ (
+ generator::Matches(pds) &
+ generator::Matches(make_package_dep_spec()
+ .package(id->name())
+ .slot_requirement(make_shared_ptr(new UserSlotExactRequirement(id->slot()))))
+ ) |
filter::SupportsAction<InstallAction>() |
filter::NotMasked())]);
@@ -178,10 +182,12 @@ namespace
{
std::tr1::shared_ptr<const PackageIDSequence> av(
(*environment)[selection::AllVersionsSorted(
- generator::Matches(pds) &
- generator::Matches(make_package_dep_spec()
- .package(id->name())
- .slot_requirement(make_shared_ptr(new UserSlotExactRequirement(id->slot())))) |
+ (
+ generator::Matches(pds) &
+ generator::Matches(make_package_dep_spec()
+ .package(id->name())
+ .slot_requirement(make_shared_ptr(new UserSlotExactRequirement(id->slot()))))
+ ) |
filter::SupportsAction<InstallAction>() |
filter::NotMasked())]);
if (av->empty())