From 5e06ec7aa2e3c06878892480c1d038575ae9da5a Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 9 Dec 2016 16:18:55 +0000 Subject: Custom stop chars are never used --- libadhocutil/compileTimeFormatter.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index 1543058..d9349dc 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -7,7 +7,7 @@ namespace AdHoc { template struct Buffer { }; - template + template struct Upto { template static auto stuff(stream &, const Buffer & f) @@ -15,12 +15,12 @@ namespace AdHoc { return f; } }; - template - struct Upto { + template + struct Upto { template static auto stuff(stream & s, const Buffer &) { - return Upto::stuff(s, Buffer()); + return Upto::stuff(s, Buffer()); } }; template @@ -32,23 +32,23 @@ namespace AdHoc { return Buffer(); } }; - template - struct Upto : public UptoWrite { }; - template - struct Upto : public UptoWrite { }; - template - struct Upto : public UptoWrite { }; - template - struct Upto : public UptoWrite { }; - template - struct Upto : public UptoWrite { }; + template + struct Upto : public UptoWrite { }; + template + struct Upto : public UptoWrite { }; + template + struct Upto : public UptoWrite { }; + template + struct Upto : public UptoWrite { }; + template + struct Upto : public UptoWrite { }; template struct StreamWriter { template static void write(stream & s, const Pn & ... pn) { - next(s, Upto::stuff(s, Buffer<0>()), pn...); + next(s, Upto::stuff(s, Buffer<0>()), pn...); } template class Buffer> static void next(stream & s, const Buffer&, const Pn & ... pn) -- cgit v1.2.3