aboutsummaryrefslogtreecommitdiff
path: root/paludis/qa.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-09 18:21:37 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-09 18:21:37 +0000
commit0b0c861333c94df393b0b12677867fb850c5ff9d (patch)
tree95fa5a2bb4eeb523ca841fbacbed99431e136b86 /paludis/qa.cc
parent0083f4e56d78bfff25782cb2af63ece6f47efee6 (diff)
downloadpaludis-0b0c861333c94df393b0b12677867fb850c5ff9d.tar.gz
paludis-0b0c861333c94df393b0b12677867fb850c5ff9d.tar.xz
Make QAMessage::with_associated_key take the PackageID as well as the MetadataKey.
Diffstat (limited to 'paludis/qa.cc')
-rw-r--r--paludis/qa.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/qa.cc b/paludis/qa.cc
index e64074297..6c5ccd696 100644
--- a/paludis/qa.cc
+++ b/paludis/qa.cc
@@ -54,9 +54,10 @@ QAMessage::with_associated_id(const tr1::shared_ptr<const PackageID> & id)
}
QAMessage &
-QAMessage::with_associated_key(const tr1::shared_ptr<const MetadataKey> & k)
+QAMessage::with_associated_key(const tr1::shared_ptr<const PackageID> & id,
+ const tr1::shared_ptr<const MetadataKey> & k)
{
- associated_keys->push_back(k);
+ associated_keys->push_back(std::make_pair(id, k));
return *this;
}