summaryrefslogtreecommitdiff
path: root/src/mongo/db/client_strand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/client_strand.h')
-rw-r--r--src/mongo/db/client_strand.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/client_strand.h b/src/mongo/db/client_strand.h
index cab3140671d..334e29a7c15 100644
--- a/src/mongo/db/client_strand.h
+++ b/src/mongo/db/client_strand.h
@@ -133,7 +133,7 @@ public:
ClientStrand(ServiceContext::UniqueClient client)
: _clientPtr(client.get()),
_client(std::move(client)),
- _threadName(make_intrusive<ThreadName>(_client->desc())) {}
+ _threadName(ThreadNameRef{_client->desc()}) {}
/**
* Get a pointer to the underlying Client.
@@ -204,8 +204,8 @@ private:
ServiceContext::UniqueClient _client;
- boost::intrusive_ptr<ThreadName> _threadName;
- boost::intrusive_ptr<ThreadName> _oldThreadName;
+ ThreadNameRef _threadName;
+ ThreadNameRef _oldThreadName;
};
inline void ClientStrand::Executor::schedule(Task task) {