diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 23:25:16 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 23:25:16 +1100 |
| commit | cc4c4fe1015648e1c19c9b35a7a1098f6cf463c1 (patch) | |
| tree | 9c519ff5f411f0a430820d6439a78631b7a62b9b /src | |
| parent | 6c7c4770e840a467ec55266bedb20eaa21a9ae86 (diff) | |
Fix erroneous const in get_context method
Diffstat (limited to 'src')
| -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 133fda8..c98768b 100644 --- a/src/layer_context.hh +++ b/src/layer_context.hh @@ -69,7 +69,7 @@ struct LayerContext final : public Context { } template <DispatchableType DT> - std::shared_ptr<dispatch_context_t<DT>> get_context(const DT& dt) const { + 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); |
