aboutsummaryrefslogtreecommitdiff
path: root/src/output/colour_formatter.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 21:28:26 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-11-07 21:28:26 +0000
commite15f518956383d4dc22bee5c13939f8de247a46d (patch)
treed1760116d2e5e29a7f47c3504319d13bd3e8f48a /src/output/colour_formatter.cc
parent8294cd0acad913897cb79aba7d94144254fdb4f3 (diff)
downloadpaludis-e15f518956383d4dc22bee5c13939f8de247a46d.tar.gz
paludis-e15f518956383d4dc22bee5c13939f8de247a46d.tar.xz
Add Map<string, string> keys
Diffstat (limited to 'src/output/colour_formatter.cc')
-rw-r--r--src/output/colour_formatter.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/output/colour_formatter.cc b/src/output/colour_formatter.cc
index 6c36f3f7d..0f0aa3e9d 100644
--- a/src/output/colour_formatter.cc
+++ b/src/output/colour_formatter.cc
@@ -183,6 +183,12 @@ ColourFormatter::format(const std::string & f, const format::Plain &) const
}
std::string
+ColourFormatter::format(const std::pair<const std::string, std::string> & f, const format::Plain &) const
+{
+ return stringify(f.first) + "=" + stringify(f.second);
+}
+
+std::string
ColourFormatter::format(const PlainTextLabelDepSpec & f, const format::Plain &) const
{
return stringify(f);