aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-10-25 15:36:12 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-10-25 16:49:04 +0100
commit41ee94aa940136f29cf7a8863a6191edc1fab4fb (patch)
tree91a8d3b509fb6fdb492a4ba5a6be17f89bdbacf8
parent93024d49f7243ecdb319e639cefa7c2ef83d7b3b (diff)
downloadpaludis-41ee94aa940136f29cf7a8863a6191edc1fab4fb.tar.gz
paludis-41ee94aa940136f29cf7a8863a6191edc1fab4fb.tar.xz
More GCC 4.1 fixing.
-rw-r--r--src/clients/cave/format_plain_metadata_key.cc33
1 files changed, 22 insertions, 11 deletions
diff --git a/src/clients/cave/format_plain_metadata_key.cc b/src/clients/cave/format_plain_metadata_key.cc
index 83ee01c..1f2ba3e 100644
--- a/src/clients/cave/format_plain_metadata_key.cc
+++ b/src/clients/cave/format_plain_metadata_key.cc
@@ -91,57 +91,68 @@ namespace
void visit(const MetadataSpecTreeKey<DependencySpecTree> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataSpecTreeKey<ProvideSpecTree> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataSpecTreeKey<FetchableURISpecTree> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataSpecTreeKey<PlainTextSpecTree> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataSpecTreeKey<SimpleURISpecTree> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataSpecTreeKey<LicenseSpecTree> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataCollectionKey<FSEntrySequence> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataCollectionKey<PackageIDSequence> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataCollectionKey<Sequence<std::string> > & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataCollectionKey<Set<std::string> > & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataCollectionKey<KeywordNameSet> & k)
{
- s << k.pretty_print_flat(StringifyFormatter());
+ StringifyFormatter f;
+ s << k.pretty_print_flat(f);
}
void visit(const MetadataSectionKey &)