diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-04-04 15:12:14 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2026-04-04 15:12:14 +1100 |
| commit | 172b0b653b5e229d1daa8bbe69ad2d7e5fe249d1 (patch) | |
| tree | 9442ccdbe0cba072217c5f4f82c3c53505eccbab /src/layer_context.hh | |
| parent | 6b4dd1fb3d5fffd0c43fc40352720e0266651c38 (diff) | |
Fix nullptr pName in GetInstanceProcAddr
Diffstat (limited to 'src/layer_context.hh')
| -rw-r--r-- | src/layer_context.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layer_context.hh b/src/layer_context.hh index 049684d..5c16926 100644 --- a/src/layer_context.hh +++ b/src/layer_context.hh @@ -82,7 +82,7 @@ class LayerContext final : public Context { std::shared_ptr<dispatch_context_t<DT>> get_context(const DT& dt) { const auto key = get_key(dt); - const auto lock = std::scoped_lock(this->mutex); + const auto lock = std::scoped_lock{this->mutex}; const auto it = this->contexts.find(key); assert(it != std::end(this->contexts)); |
