1
0
mirror of https://github.com/anope/anope.git synced 2026-06-30 19:26:38 +02:00

Use unique_ptr for managing std::thread ownership.

This commit is contained in:
Sadie Powell
2024-02-25 21:54:40 +00:00
parent b26f198489
commit 97b65b2255
2 changed files with 2 additions and 9 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ private:
public:
/* Handle for this thread */
std::thread *handle = nullptr;
std::unique_ptr<std::thread> handle;
/** Threads destructor
*/