| 43 | } |
| 44 | |
| 45 | void destroy_dispatch_table(device_table_map &map, dispatch_key key) { |
| 46 | device_table_map::const_iterator it = map.find((void *)key); |
| 47 | if (it != map.end()) { |
| 48 | delete it->second; |
| 49 | map.erase(it); |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | void destroy_dispatch_table(instance_table_map &map, dispatch_key key) { |
| 54 | instance_table_map::const_iterator it = map.find((void *)key); |
no outgoing calls
no test coverage detected