aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/licenses_conf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/paludis/licenses_conf.cc')
-rw-r--r--paludis/environments/paludis/licenses_conf.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/paludis/environments/paludis/licenses_conf.cc b/paludis/environments/paludis/licenses_conf.cc
index 52e2e8f68..8e6d925dc 100644
--- a/paludis/environments/paludis/licenses_conf.cc
+++ b/paludis/environments/paludis/licenses_conf.cc
@@ -1,7 +1,7 @@
/* vim: set sw=4 sts=4 et foldmethod=syntax : */
/*
- * Copyright (c) 2007, 2008, 2009, 2010 Ciaran McCreesh
+ * Copyright (c) 2007, 2008, 2009, 2010, 2011 Ciaran McCreesh
*
* This file is part of the Paludis package manager. Paludis is free software;
* you can redistribute it and/or modify it under the terms of the GNU General
@@ -143,7 +143,7 @@ LicensesConf::query(const std::string & t, const std::shared_ptr<const PackageID
for (PDSToLicensesList::const_iterator j(i->second.begin()), j_end(i->second.end()) ;
j != j_end ; ++j)
{
- if (! match_package(*_imp->env, *j->first, e, { }))
+ if (! match_package(*_imp->env, *j->first, e, make_null_shared_ptr(), { }))
continue;
for (LicensesList::const_iterator l(j->second.begin()), l_end(j->second.end()) ;
@@ -208,7 +208,7 @@ LicensesConf::query(const std::string & t, const std::shared_ptr<const PackageID
for (PDSToLicensesList::const_iterator j(_imp->unqualified.begin()), j_end(_imp->unqualified.end()) ;
j != j_end ; ++j)
{
- if (! match_package(*_imp->env, *j->first, e, { }))
+ if (! match_package(*_imp->env, *j->first, e, make_null_shared_ptr(), { }))
continue;
for (LicensesList::const_iterator l(j->second.begin()), l_end(j->second.end()) ;