MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / destroy_dispatch_table

Function destroy_dispatch_table

layersvt/vk_layer_table.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void 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
53void destroy_dispatch_table(instance_table_map &map, dispatch_key key) {
54 instance_table_map::const_iterator it = map.find((void *)key);

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected