Update docs and formatting

This commit is contained in:
Victor Zverovich
2018-09-08 09:06:54 -07:00
parent cc10b4607f
commit 8671689449
2 changed files with 12 additions and 10 deletions
+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);
}
};