From 6c7c4770e840a467ec55266bedb20eaa21a9ae86 Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Wed, 11 Mar 2026 23:17:09 +1100 Subject: Don't inject timestamps when we have no reason to --- src/layer_context.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layer_context.hh') 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 - std::shared_ptr> get_context(const DT& dt) { + std::shared_ptr> get_context(const DT& dt) const { const auto key = get_key(dt); const auto lock = std::scoped_lock(this->mutex); -- cgit v1.2.3