From dc640d2c1ef55ddb432675940619fa34b4734496 Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 11 Feb 2017 01:11:22 +0100 Subject: [PATCH] no need for the other format_impl overload --- ostd/format.hh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ostd/format.hh b/ostd/format.hh index 100d996..0d3c6aa 100644 --- a/ostd/format.hh +++ b/ostd/format.hh @@ -914,16 +914,6 @@ namespace detail { written += twr; return written; } - - template - inline ptrdiff_t format_impl(R &writer, bool, ConstCharRange fmt) { - size_t written = 0; - detail::WriteSpec spec(fmt, false); - if (spec.read_until_spec(writer, &written)) { - throw format_error{"format spec without format arguments"}; - } - return written; - } } /* namespace detail */ template