locale_facets.tcc (time_put::put): Avoid expensive *__s++, in favor of *__s, ++__s.

2003-10-01  Nathan Myers  <ncm@cantrip.org>

	* include/bits/locale_facets.tcc (time_put::put): Avoid
	expensive *__s++, in favor of *__s, ++__s.

From-SVN: r71980
This commit is contained in:
Nathan Myers 2003-10-01 16:58:38 +00:00 committed by Paolo Carlini
parent 9dfc2ec225
commit e39dd1ce52
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-10-01 Nathan Myers <ncm@cantrip.org>
* include/bits/locale_facets.tcc (time_put::put): Avoid
expensive *__s++, in favor of *__s, ++__s.
2003-10-01 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (time_put::put): Minor

View File

@ -2026,7 +2026,10 @@ namespace std
__s = this->do_put(__s, __io, __fill, __tm, __format, __mod);
}
else
*__s++ = __tmp;
{
*__s = __tmp;
++__s;
}
}
return __s;
}