Update docs and formatting

This commit is contained in:
Victor Zverovich committed 2018-09-08 09:06:54 -07:00
1 parent cc10b4607f
commit 8671689449
2 files changed
+12 -10

No files matched your search

+3 -4
View File
@@ -253,11 +253,10 @@ custom argument formatter class::
using arg_formatter::operator();
void operator()(int value) {
auto operator()(int value) {
if (spec().type() == 'x')
(*this)(static_cast<unsigned>(value)); // convert to unsigned and format
else
arg_formatter::operator()(value);
return (*this)(static_cast<unsigned>(value)); // convert to unsigned and format
return arg_formatter::operator()(value);
}
};