aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/info_metadata_key.cc
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-12-31 03:21:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-01-01 03:57:53 +0000
commit4a4c5ce98b186a8dc3e3d683b1889a7f724c93c3 (patch)
treeb3daed1da5be1fdae3bd27e5b38a8d3b538731da /paludis/repositories/e/info_metadata_key.cc
parent79da6018d6c02a099af83ecd62e8858ead5f27db (diff)
downloadpaludis-4a4c5ce98b186a8dc3e3d683b1889a7f724c93c3.tar.gz
paludis-4a4c5ce98b186a8dc3e3d683b1889a7f724c93c3.tar.xz
Kill formatters
Diffstat (limited to 'paludis/repositories/e/info_metadata_key.cc')
-rw-r--r--paludis/repositories/e/info_metadata_key.cc16
1 files changed, 0 insertions, 16 deletions
diff --git a/paludis/repositories/e/info_metadata_key.cc b/paludis/repositories/e/info_metadata_key.cc
index 11744495a..a14cfbd78 100644
--- a/paludis/repositories/e/info_metadata_key.cc
+++ b/paludis/repositories/e/info_metadata_key.cc
@@ -41,7 +41,6 @@
#include <paludis/dep_spec.hh>
#include <paludis/environment.hh>
#include <paludis/package_id.hh>
-#include <paludis/formatter.hh>
#include <paludis/pretty_printer.hh>
#include <paludis/call_pretty_printer.hh>
@@ -211,21 +210,6 @@ InfoPkgsMetadataKey::need_keys_added() const
}
}
-namespace
-{
- std::string format_string(const std::string & i, const Formatter<std::string> & f)
- {
- return f.format(i, format::Plain());
- }
-}
-
-std::string
-InfoVarsMetadataKey::pretty_print_flat(const Formatter<std::string> & f) const
-{
- using namespace std::placeholders;
- return join(value()->begin(), value()->end(), " ", std::bind(&format_string, _1, f));
-}
-
const std::string
InfoVarsMetadataKey::pretty_print_value(
const PrettyPrinter & pretty_printer,