1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 15:26:39 +02:00

Fix unnecessary uses of std::string.

This commit is contained in:
Sadie Powell
2024-03-18 12:42:41 +00:00
parent 60083834f8
commit 413fed474e
5 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ void Thread::Start()
catch (const std::system_error &err)
{
this->flags[SF_DEAD] = true;
throw CoreException("Unable to create thread: " + std::string(err.what()));
throw CoreException("Unable to create thread: " + Anope::string(err.what()));
}
}