diff options
Diffstat (limited to 'src/layer.cc')
| -rw-r--r-- | src/layer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layer.cc b/src/layer.cc index e94fe54..54ad8d7 100644 --- a/src/layer.cc +++ b/src/layer.cc @@ -275,7 +275,7 @@ DestroyDevice(VkDevice device, const VkAllocationCallbacks* allocator) { const auto key = layer_context.get_key(device); const auto iter = layer_context.contexts.find(key); assert(iter != std::end(layer_context.contexts)); - auto context = dynamic_pointer_cast<DeviceContext>(iter->second); + auto context = std::dynamic_pointer_cast<DeviceContext>(iter->second); // Remove all owned queues from our global context pool. for (const auto& [queue, _] : context->queues) { |
