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
|
@ -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>
|
2003-12-10 Paolo Carlini <pcarlini@suse.de>
|
||||||
|
|
||||||
* testsuite/22_locale/locale/cons/12438.cc: Tweak memory
|
* 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
|
const ios_base::fmtflags __fmt = ~(ios_base::showpos | ios_base::basefield
|
||||||
| ios_base::uppercase | ios_base::internal);
|
| ios_base::uppercase | ios_base::internal);
|
||||||
__io.flags(__flags & __fmt | (ios_base::hex | ios_base::showbase));
|
__io.flags(__flags & __fmt | (ios_base::hex | ios_base::showbase));
|
||||||
try
|
|
||||||
{
|
__s = _M_insert_int(__s, __io, __fill,
|
||||||
__s = _M_insert_int(__s, __io, __fill,
|
reinterpret_cast<unsigned long>(__v));
|
||||||
reinterpret_cast<unsigned long>(__v));
|
__io.flags(__flags);
|
||||||
__io.flags(__flags);
|
|
||||||
}
|
|
||||||
catch (...)
|
|
||||||
{
|
|
||||||
__io.flags(__flags);
|
|
||||||
__throw_exception_again;
|
|
||||||
}
|
|
||||||
return __s;
|
return __s;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue