[Bug libstdc++/51209] The template _M_find_node in hashtable.h has a bad return value
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Nov 18 16:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51209
--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-11-18 16:09:36 UTC ---
Author: paolo
Date: Fri Nov 18 16:09:29 2011
New Revision: 181480
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181480
Log:
2011-11-18 Harti Brandt <hartmut.brandt@dlr.de>
PR libstdc++/51209
* include/bits/hashtable.h (_Hashtable<>::_M_find_node): Return
nullptr when no node is found.
* include/tr1/hashtable.h (_Hashtable<>::_M_find_node): Return
zero when no node is found.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/bits/hashtable.h
trunk/libstdc++-v3/include/tr1/hashtable.h
More information about the Gcc-bugs
mailing list