diff options
| author | 2024-09-19 13:13:04 +0100 | |
|---|---|---|
| committer | 2024-09-19 13:13:41 +0100 | |
| commit | 566d4383483e67320c4bbfaeb6103d5871dfaac7 (patch) | |
| tree | acde43d980163809be6d7cd76ac5a96ff0747ef2 /src/server.cpp | |
| parent | Use unique_ptr for InspIRCd::Config. (diff) | |
Use unique_ptr for InspIRCd::ConfigThread.
Diffstat (limited to 'src/server.cpp')
| -rw-r--r-- | src/server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server.cpp b/src/server.cpp index 8328e4d87..57714bfc6 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -62,7 +62,7 @@ void InspIRCd::Rehash(const std::string& uuid) { if (!ConfigThread) { - ConfigThread = new ConfigReaderThread(uuid); + ConfigThread = std::make_unique<ConfigReaderThread>(uuid); ConfigThread->Start(); } } |
