aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-17 02:02:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-17 14:16:36 +0000
commitb5b62d58596c6e4571206b7e649078af94415f3a (patch)
tree113dfd4e1c349bba2994bfb8f4904384ffda0033
parenta7615b25694a7314b7e1bb238041a9fe4e73f3a5 (diff)
downloadpaludis-b5b62d58596c6e4571206b7e649078af94415f3a.tar.gz
paludis-b5b62d58596c6e4571206b7e649078af94415f3a.tar.xz
References good
-rw-r--r--paludis/repositories/e/dep_parser.cc2
-rw-r--r--paludis/repositories/e/e_choices_key.cc2
-rw-r--r--paludis/repositories/e/e_repository.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc
index c77a407..b9a0e76 100644
--- a/paludis/repositories/e/dep_parser.cc
+++ b/paludis/repositories/e/dep_parser.cc
@@ -806,7 +806,7 @@ paludis::erepository::parse_plain_text_label(const std::string & s)
namespace
{
bool enabled_if_option(
- const std::shared_ptr<const PackageID> id,
+ const std::shared_ptr<const PackageID> & id,
const std::string label,
const ChoiceNameWithPrefix n)
{
diff --git a/paludis/repositories/e/e_choices_key.cc b/paludis/repositories/e/e_choices_key.cc
index 769f3eb..3b1dba7 100644
--- a/paludis/repositories/e/e_choices_key.cc
+++ b/paludis/repositories/e/e_choices_key.cc
@@ -247,7 +247,7 @@ namespace
};
void add_choice_to_map(std::map<ChoiceNameWithPrefix, ChoiceOptions> & values,
- const std::pair<ChoiceNameWithPrefix, ChoiceOptions> & flag,
+ const std::pair<const ChoiceNameWithPrefix, ChoiceOptions> & flag,
const std::shared_ptr<const MetadataCollectionKey<Set<std::string> > > & key)
{
std::map<ChoiceNameWithPrefix, ChoiceOptions>::iterator i(values.find(flag.first));
diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc
index cf1bfb9..1f0ffac 100644
--- a/paludis/repositories/e/e_repository.cc
+++ b/paludis/repositories/e/e_repository.cc
@@ -1675,7 +1675,7 @@ ERepository::eapi_for_file(const FSPath & f) const
namespace
{
- std::shared_ptr<const SetSpecTree> get_system_set(const std::shared_ptr<const SetSpecTree> s)
+ std::shared_ptr<const SetSpecTree> get_system_set(const std::shared_ptr<const SetSpecTree> & s)
{
return s;
}