summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2018-08-30 19:59:23 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2018-08-30 19:59:23 +0100
commit8da8e9946e42f602dffedcfdefae4f3ce38884e0 (patch)
tree963ad83174c7c98d07f1bd8961d639a8a84fa08b
parentInclude detail headers on install (diff)
downloadlibadhocutil-8da8e9946e42f602dffedcfdefae4f3ce38884e0.tar.bz2
libadhocutil-8da8e9946e42f602dffedcfdefae4f3ce38884e0.tar.xz
libadhocutil-8da8e9946e42f602dffedcfdefae4f3ce38884e0.zip
Fix flagconv setfill
-rw-r--r--libadhocutil/detail/compileTimeFormatters.h4
1 files 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
}