mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 23:04:46 +08:00
locale_facets.tcc (money_put<>::_M_insert): Fix warning regression.
2004-03-03 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (money_put<>::_M_insert): Fix warning regression. From-SVN: r78861
This commit is contained in:
parent
fc9232c98e
commit
ced3ad4d7c
@ -1,3 +1,8 @@
|
||||
2004-03-03 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/locale_facets.tcc (money_put<>::_M_insert):
|
||||
Fix warning regression.
|
||||
|
||||
2004-03-03 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/locale_facets.tcc (money_put<>::_M_insert):
|
||||
|
@ -1451,12 +1451,13 @@ namespace std
|
||||
__sign = __lc->_M_positive_sign;
|
||||
__sign_size = __lc->_M_positive_sign_size;
|
||||
}
|
||||
else if (__digits.size())
|
||||
else
|
||||
{
|
||||
__p = __lc->_M_neg_format;
|
||||
__sign = __lc->_M_negative_sign;
|
||||
__sign_size = __lc->_M_negative_sign_size;
|
||||
++__beg;
|
||||
if (__digits.size())
|
||||
++__beg;
|
||||
}
|
||||
|
||||
// Look for valid numbers in the ctype facet within input digits.
|
||||
|
Loading…
Reference in New Issue
Block a user