Replace BasicFormatter::Format with BasicWriter::FormatInt.

This commit is contained in:
Victor Zverovich
2014-04-20 08:46:09 -07:00
parent cdfbd128ec
commit 03f68857e2
2 changed files with 7 additions and 14 deletions
-7
View File
@@ -1138,13 +1138,6 @@ class BasicFormatter {
// writing the output to writer_.
void DoFormat();
// Formats an integer.
// TODO: remove
template <typename T>
void FormatInt(T value, const FormatSpec &spec) {
*writer_ << IntFormatSpec<T, FormatSpec>(value, spec);
}
struct Proxy {
BasicWriter<Char> *writer;
const Char *format;