* src/threads/threadlist.cpp (ThreadList::get_thread_by_index): Fixed
authorChristian Thalinger <twisti@complang.tuwien.ac.at>
Mon, 8 Sep 2008 15:54:44 +0000 (17:54 +0200)
committerChristian Thalinger <twisti@complang.tuwien.ac.at>
Mon, 8 Sep 2008 15:54:44 +0000 (17:54 +0200)
commit69f8c13b41bf7e93d2ecbfa3b434a2d08b82533c
tree456c9188c38479b9759a288f89e122c48b371abd
parent080b5e361ef0431f7226043a1a03358973ab62d2
* src/threads/threadlist.cpp (ThreadList::get_thread_by_index): Fixed
a bug that this function always returned the last index if the index
was not found.  Additionally it uses now find_if.
src/threads/threadlist.cpp