aboutsummaryrefslogtreecommitdiff
path: root/paludis/formatted_pretty_printer.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-14 09:22:50 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-09-14 09:57:40 +0100
commitcabf80cc5dfeb84eef7c4d7784eee0dc87de6d5e (patch)
tree05a370d70ee2c8aee9d6bdf44a0a4f1a94dff5cc /paludis/formatted_pretty_printer.cc
parent81d87f2466fcccf199a0a7363062eab649acb87a (diff)
downloadpaludis-cabf80cc5dfeb84eef7c4d7784eee0dc87de6d5e.tar.gz
paludis-cabf80cc5dfeb84eef7c4d7784eee0dc87de6d5e.tar.xz
Maintainers as objects
Diffstat (limited to 'paludis/formatted_pretty_printer.cc')
-rw-r--r--paludis/formatted_pretty_printer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/formatted_pretty_printer.cc b/paludis/formatted_pretty_printer.cc
index 99220f8b2..f73885876 100644
--- a/paludis/formatted_pretty_printer.cc
+++ b/paludis/formatted_pretty_printer.cc
@@ -205,6 +205,12 @@ FormattedPrettyPrinter::prettify(const std::string & v) const
}
const std::string
+FormattedPrettyPrinter::prettify(const Maintainer & v) const
+{
+ return format_plain(stringify(v));
+}
+
+const std::string
FormattedPrettyPrinter::prettify(const std::pair<const std::string, std::string> & v) const
{
if (v.first.empty())