aboutsummaryrefslogtreecommitdiff
path: root/paludis/stringify_formatter.hh
diff options
context:
space:
mode:
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;