From 31c69428639c0674339c3752c5401542d38693bc Mon Sep 17 00:00:00 2001 From: Nicolas James Date: Wed, 1 Apr 2026 00:49:34 +1100 Subject: Turn shared_ptr to unique_ptr in Context, strictly transfer ownership in notify_present --- src/queue_context.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/queue_context.hh') diff --git a/src/queue_context.hh b/src/queue_context.hh index 2abd44c..326ee79 100644 --- a/src/queue_context.hh +++ b/src/queue_context.hh @@ -99,8 +99,8 @@ class QueueContext final : public Context { }; using present_id_t = std::uint64_t; - using submissions_ptr_t = std::shared_ptr; - std::unordered_map unpresented_submissions; + std::unordered_map> + unpresented_submissions; // We might be tracking present_ids which aren't presented to - and as a // result we don't ever clear those Submissions. So manually evict them by -- cgit v1.2.3