remove a self thread error
| 1861 | |
| 1862 | // remove a self thread error |
| 1863 | void Errors::Remove() |
| 1864 | { |
| 1865 | Lock guard(mutex_); |
| 1866 | thr_iterator find = STL::find_if(list_.begin(), list_.end(), |
| 1867 | thr_match()); |
| 1868 | if (find != list_.end()) |
| 1869 | list_.erase(find); |
| 1870 | } |
| 1871 | |
| 1872 | |
| 1873 | // lookup self error code |