summaryrefslogtreecommitdiff
path: root/src/threadengine.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-18 12:42:41 +0000
committerSadie Powell <sadie@witchery.services>2024-03-18 12:47:43 +0000
commit413fed474e7fbdc10128482284700f0fad41e31a (patch)
tree94b7d1ab522911c4c635f3b9cdd8a274fc6aee0c /src/threadengine.cpp
parent60083834f802456382ffc63f0c908db3e2676feb (diff)
Fix unnecessary uses of std::string.
Diffstat (limited to 'src/threadengine.cpp')
-rw-r--r--src/threadengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/threadengine.cpp b/src/threadengine.cpp
index 08765c4e4..625e97713 100644
--- a/src/threadengine.cpp
+++ b/src/threadengine.cpp
@@ -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()));
}
}