From 8da8e9946e42f602dffedcfdefae4f3ce38884e0 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 30 Aug 2018 19:59:23 +0100 Subject: Fix flagconv setfill --- libadhocutil/detail/compileTimeFormatters.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libadhocutil/detail/compileTimeFormatters.h b/libadhocutil/detail/compileTimeFormatters.h index 6fa77d0..898b679 100644 --- a/libadhocutil/detail/compileTimeFormatters.h +++ b/libadhocutil/detail/compileTimeFormatters.h @@ -118,9 +118,9 @@ namespace AdHoc { } \ }; FLAGCONV(s << std::showbase, '#'); - FLAGCONV(s.setfill('0'), '0'); + FLAGCONV(s << std::setfill('0'), '0'); FLAGCONV(s << std::left, '-'); - FLAGCONV(s.setfill(' '), ' '); + FLAGCONV(s << std::setfill(' '), ' '); #undef FLAGCONV } -- cgit v1.2.3