aboutsummaryrefslogtreecommitdiff
path: root/paludis/stringify_formatter.hh
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 /paludis/stringify_formatter.hh
parent8294cd0acad913897cb79aba7d94144254fdb4f3 (diff)
downloadpaludis-e15f518956383d4dc22bee5c13939f8de247a46d.tar.gz
paludis-e15f518956383d4dc22bee5c13939f8de247a46d.tar.xz
Add Map<string, string> keys
Diffstat (limited to 'paludis/stringify_formatter.hh')
-rw-r--r--paludis/stringify_formatter.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/stringify_formatter.hh b/paludis/stringify_formatter.hh
index a18c1c68c..c223516de 100644
--- a/paludis/stringify_formatter.hh
+++ b/paludis/stringify_formatter.hh
@@ -60,6 +60,7 @@ namespace paludis
class PALUDIS_VISIBLE StringifyFormatter :
private Pimp<StringifyFormatter>,
public CanFormat<std::string>,
+ public CanFormat<std::pair<const std::string, std::string> >,
public CanFormat<ChoiceValue>,
public CanFormat<KeywordName>,
public CanFormat<PackageDepSpec>,
@@ -98,6 +99,8 @@ namespace paludis
virtual std::string format(const std::string &, const format::Plain &) const;
+ virtual std::string format(const std::pair<const std::string, std::string> &, const format::Plain &) const;
+
virtual std::string format(const ChoiceValue &, const format::Enabled &) const;
virtual std::string format(const ChoiceValue &, const format::Disabled &) const;
virtual std::string format(const ChoiceValue &, const format::Forced &) const;