diff options
| author | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 23:17:09 +1100 |
|---|---|---|
| committer | Nicolas James <nj3ahxac@gmail.com> | 2026-03-11 23:17:09 +1100 |
| commit | 6c7c4770e840a467ec55266bedb20eaa21a9ae86 (patch) | |
| tree | ac26f6d1e374486204cbeb6c1dc6a2ad5c28728c /src/layer_context.hh | |
| parent | dcfcd17a2b38c4efd50063a8c84821ac5fce5b1d (diff) | |
Don't inject timestamps when we have no reason to
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 c98768b..133fda8 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) { + std::shared_ptr<dispatch_context_t<DT>> get_context(const DT& dt) const { const auto key = get_key(dt); const auto lock = std::scoped_lock(this->mutex); |
