diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-04-07 17:14:38 +1000 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-04-07 17:14:38 +1000 |
| commit | 6d1032d39fac105f1bfb5972a45643b6fffb56a2 (patch) | |
| tree | e903bcdd5bf43570e84c7eef18127117249947d7 /src/instance_context.cc | |
| parent | fa5ae90c34e740eaf3a4e29d5e2841240f62244d (diff) | |
Remove unnecessary assertions for unique shared pointers in destructors of Instance and Device contexts
Diffstat (limited to 'src/instance_context.cc')
| -rw-r--r-- | src/instance_context.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/instance_context.cc b/src/instance_context.cc index 8aeb46c..06c04a8 100644 --- a/src/instance_context.cc +++ b/src/instance_context.cc @@ -10,12 +10,6 @@ InstanceContext::InstanceContext(const LayerContext& parent_context, VkuInstanceDispatchTable&& vtable) : layer(parent_context), instance(instance), vtable(std::move(vtable)) {} -InstanceContext::~InstanceContext() { - // Similar to devices, we should own the only shared ptr at this point so - // they destruct now. - for (const auto& [device, device_context] : this->physical_devices) { - assert(device_context.unique()); - } -} +InstanceContext::~InstanceContext() {} } // namespace low_latency
\ No newline at end of file |
