locale_facets.tcc (num_put::do_put(void*)): Remove the try/catch, not necessary.
2003-12-10 Paolo Carlini <pcarlini@suse.de> * include/bits/locale_facets.tcc (num_put::do_put(void*)): Remove the try/catch, not necessary. From-SVN: r74493
This commit is contained in:
parent
628b26f8b2
commit
e8c5fc6649
2 changed files with 9 additions and 11 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-12-10 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/locale_facets.tcc (num_put::do_put(void*)):
|
||||
Remove the try/catch, not necessary.
|
||||
|
||||
2003-12-10 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* testsuite/22_locale/locale/cons/12438.cc: Tweak memory
|
||||
|
|
|
@ -1061,17 +1061,10 @@ namespace std
|
|||
const ios_base::fmtflags __fmt = ~(ios_base::showpos | ios_base::basefield
|
||||
| ios_base::uppercase | ios_base::internal);
|
||||
__io.flags(__flags & __fmt | (ios_base::hex | ios_base::showbase));
|
||||
try
|
||||
{
|
||||
__s = _M_insert_int(__s, __io, __fill,
|
||||
reinterpret_cast<unsigned long>(__v));
|
||||
__io.flags(__flags);
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
__io.flags(__flags);
|
||||
__throw_exception_again;
|
||||
}
|
||||
|
||||
__s = _M_insert_int(__s, __io, __fill,
|
||||
reinterpret_cast<unsigned long>(__v));
|
||||
__io.flags(__flags);
|
||||
return __s;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue