[patch] replace reinterpret_cast with static_cast in tests
Jonathan Wakely
jwakely.gcc@gmail.com
Mon Dec 24 15:02:00 GMT 2007
No need to use reinterpret_cast in these tests, static_cast is enough.
The copies of these tests under 20_util already use static_cast.
Texted x86-64/linux - OK for mainline?
* testsuite/tr1/2_general_utilities/shared_ptr/thread/
default_weaktoshared.cc: Use static_cast not reinterpret_cast.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/
mutex_weaktoshared.cc: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libstdc++-sptests.patch
Type: text/x-patch
Size: 3392 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20071224/fb3d49f8/attachment.bin>
More information about the Libstdc++
mailing list