aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-13 12:53:56 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-10-13 12:53:56 +0000
commit6202af39e927546fe5503d5bd7a0b9a25c0a8997 (patch)
tree6fc35185191e421cc3fbb873d9fb01b80107fc98 /paludis/repositories/fake
parentb2eb5ab5752e96f60632363b156cfd3fa9f58cac (diff)
downloadpaludis-6202af39e927546fe5503d5bd7a0b9a25c0a8997.tar.gz
paludis-6202af39e927546fe5503d5bd7a0b9a25c0a8997.tar.xz
The standard says we can't call it ::Formatter, since we have a Formatter at namespace level
Diffstat (limited to 'paludis/repositories/fake')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc8
-rw-r--r--paludis/repositories/fake/fake_package_id.hh8
2 files changed, 8 insertions, 8 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 1e289d22a..f097b2fee 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -184,14 +184,14 @@ FakeMetadataSpecTreeKey<C_>::value() const
template <typename C_>
std::string
-FakeMetadataSpecTreeKey<C_>::pretty_print(const typename C_::Formatter &) const
+FakeMetadataSpecTreeKey<C_>::pretty_print(const typename C_::ItemFormatter &) const
{
return _imp->string_value;
}
template <typename C_>
std::string
-FakeMetadataSpecTreeKey<C_>::pretty_print_flat(const typename C_::Formatter &) const
+FakeMetadataSpecTreeKey<C_>::pretty_print_flat(const typename C_::ItemFormatter &) const
{
return _imp->string_value;
}
@@ -224,13 +224,13 @@ FakeMetadataSpecTreeKey<FetchableURISpecTree>::value() const
}
std::string
-FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print(const FetchableURISpecTree::Formatter &) const
+FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print(const FetchableURISpecTree::ItemFormatter &) const
{
return _imp->string_value;
}
std::string
-FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print_flat(const FetchableURISpecTree::Formatter &) const
+FakeMetadataSpecTreeKey<FetchableURISpecTree>::pretty_print_flat(const FetchableURISpecTree::ItemFormatter &) const
{
return _imp->string_value;
}
diff --git a/paludis/repositories/fake/fake_package_id.hh b/paludis/repositories/fake/fake_package_id.hh
index 786f1e35d..639ba73a0 100644
--- a/paludis/repositories/fake/fake_package_id.hh
+++ b/paludis/repositories/fake/fake_package_id.hh
@@ -98,10 +98,10 @@ namespace paludis
void set_from_string(const std::string &);
- virtual std::string pretty_print(const typename C_::Formatter &) const
+ virtual std::string pretty_print(const typename C_::ItemFormatter &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::string pretty_print_flat(const typename C_::Formatter &) const
+ virtual std::string pretty_print_flat(const typename C_::ItemFormatter &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
};
@@ -124,10 +124,10 @@ namespace paludis
void set_from_string(const std::string &);
- virtual std::string pretty_print(const FetchableURISpecTree::Formatter &) const
+ virtual std::string pretty_print(const FetchableURISpecTree::ItemFormatter &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
- virtual std::string pretty_print_flat(const FetchableURISpecTree::Formatter &) const
+ virtual std::string pretty_print_flat(const FetchableURISpecTree::ItemFormatter &) const
PALUDIS_ATTRIBUTE((warn_unused_result));
virtual const tr1::shared_ptr<const URILabel> initial_label() const