aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Daniel Mierswa <impulze@impulze.org> 2012-02-27 13:49:53 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2012-03-03 14:46:28 +0000
commitd458fb164b4157a565735aa771702de958b98b6b (patch)
tree2fcf2e8b932a59b5978d66b4dbb272929a290dbf
parent3108ba09173b049c46e461910175717587f22bd1 (diff)
downloadpaludis-d458fb164b4157a565735aa771702de958b98b6b.tar.gz
paludis-d458fb164b4157a565735aa771702de958b98b6b.tar.xz
fix warning regarding list-initializer
warning: list-initializer for non-class type must not be parenthesized
-rw-r--r--paludis/resolver/collect_depped_upon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/resolver/collect_depped_upon.cc b/paludis/resolver/collect_depped_upon.cc
index d4d1240..e308989 100644
--- a/paludis/resolver/collect_depped_upon.cc
+++ b/paludis/resolver/collect_depped_upon.cc
@@ -240,7 +240,7 @@ paludis::resolver::dependent_upon(
}
else
{
- auto k({ &PackageID::build_dependencies_key, &PackageID::run_dependencies_key, &PackageID::post_dependencies_key });
+ auto k { &PackageID::build_dependencies_key, &PackageID::run_dependencies_key, &PackageID::post_dependencies_key };
for (auto i(k.begin()), i_end(k.end()) ; i != i_end ; ++i)
{
auto key(((*id).*(*i))());