diff options
author | 2010-12-19 16:48:51 +0000 | |
---|---|---|
committer | 2010-12-19 16:48:51 +0000 | |
commit | 12d58c89b455c6b2b67aada5892ae25ff071f5bf (patch) | |
tree | fa9394a143f301ad78c7d10be2e5af113a1b0feb | |
parent | 17b625c28f10fbc765f1a99af433da1e39a9253e (diff) | |
download | paludis-12d58c89b455c6b2b67aada5892ae25ff071f5bf.tar.gz paludis-12d58c89b455c6b2b67aada5892ae25ff071f5bf.tar.xz |
Use role rather than key
-rwxr-xr-x | src/clients/cave/cmd_display_resolution.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc index 14d45cd00..a1f6e82f5 100755 --- a/src/clients/cave/cmd_display_resolution.cc +++ b/src/clients/cave/cmd_display_resolution.cc @@ -136,9 +136,9 @@ namespace std::string get_annotation( const std::shared_ptr<const DepSpecAnnotations> & annotations, - const std::string & name) + const DepSpecAnnotationRole role) { - auto i(annotations->find(name)); + auto i(annotations->find(role)); if (i == annotations->end()) return ""; @@ -171,7 +171,7 @@ namespace std::pair<std::string, Tribool> result(unannotated); - std::string description_annotation(get_annotation(key, "description")); + std::string description_annotation(get_annotation(key, dsar_general_description)); if (! description_annotation.empty()) { result.first = result.first + ": \"" + description_annotation + "\""; |