diff options
author | 2010-12-17 02:02:26 +0000 | |
---|---|---|
committer | 2010-12-17 14:16:36 +0000 | |
commit | b5b62d58596c6e4571206b7e649078af94415f3a (patch) | |
tree | 113dfd4e1c349bba2994bfb8f4904384ffda0033 | |
parent | a7615b25694a7314b7e1bb238041a9fe4e73f3a5 (diff) | |
download | paludis-b5b62d58596c6e4571206b7e649078af94415f3a.tar.gz paludis-b5b62d58596c6e4571206b7e649078af94415f3a.tar.xz |
References good
-rw-r--r-- | paludis/repositories/e/dep_parser.cc | 2 | ||||
-rw-r--r-- | paludis/repositories/e/e_choices_key.cc | 2 | ||||
-rw-r--r-- | paludis/repositories/e/e_repository.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/paludis/repositories/e/dep_parser.cc b/paludis/repositories/e/dep_parser.cc index c77a407f9..b9a0e7637 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 769f3ebb1..3b1dba704 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 cf1bfb9b4..1f0ffac2a 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; } |