re PR libstdc++/51209 (The template _M_find_node in hashtable.h has a bad return...
authorHarti Brandt <hartmut.brandt@dlr.de>
Fri, 18 Nov 2011 16:09:29 +0000 (16:09 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 18 Nov 2011 16:09:29 +0000 (16:09 +0000)
commit919f402ca5eae1caf53ed2b9caffc9a50e92cdd0
tree4de36f4fca46222c9e46098e3d4b32b266042e1f
parent112eadc76334c1709962ddf47ebf5b11bae685c1
re PR libstdc++/51209 (The template _M_find_node in hashtable.h has a bad return value)

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.

From-SVN: r181480
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/include/tr1/hashtable.h