From 56b0299e0b62683d8ed66a9ad663e81415981096 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 30 Dec 2016 17:53:14 +0000 Subject: Rename hacked in 'stuff' to 'scan' --- libadhocutil/compileTimeFormatter.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libadhocutil/compileTimeFormatter.h b/libadhocutil/compileTimeFormatter.h index 034a65d..9f6acfe 100644 --- a/libadhocutil/compileTimeFormatter.h +++ b/libadhocutil/compileTimeFormatter.h @@ -11,7 +11,7 @@ namespace AdHoc { template struct Upto { template - static auto stuff(stream &, const Buffer & f) + static auto scan(stream &, const Buffer & f) { return f; } @@ -19,15 +19,15 @@ namespace AdHoc { template struct Upto { template - static auto stuff(stream & s, const Buffer &) + static auto scan(stream & s, const Buffer &) { - return Upto::stuff(s, Buffer()); + return Upto::scan(s, Buffer()); } }; template struct UptoWrite { template - static auto stuff(stream & s, const Buffer &) + static auto scan(stream & s, const Buffer &) { s.write(S + start, sizeof...(sm)); return Buffer(); @@ -49,7 +49,7 @@ namespace AdHoc { template static void write(stream & s, const Pn & ... pn) { - next(s, Upto::stuff(s, Buffer<0>()), pn...); + next(s, Upto::scan(s, Buffer<0>()), pn...); } template class Buffer> static void next(stream & s, const Buffer&, const Pn & ... pn) -- cgit v1.2.3