summaryrefslogtreecommitdiff
path: root/indra/llcommon/workqueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/workqueue.cpp')
-rw-r--r--indra/llcommon/workqueue.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/llcommon/workqueue.cpp b/indra/llcommon/workqueue.cpp
index f7ffc8233c..ac3086aac5 100644
--- a/indra/llcommon/workqueue.cpp
+++ b/indra/llcommon/workqueue.cpp
@@ -26,11 +26,6 @@
using Mutex = LLCoros::Mutex;
using Lock = LLCoros::LockType;
-struct NotOnDftCoro: public LLException
-{
- NotOnDftCoro(const std::string& what): LLException(what) {}
-};
-
LL::WorkQueue::WorkQueue(const std::string& name):
super(makeName(name))
{
@@ -148,6 +143,6 @@ void LL::WorkQueue::checkCoroutine(const std::string& method)
// string. See also LLCoros::logname().
if (LLCoros::getName().empty())
{
- LLTHROW(NotOnDftCoro("Do not call " + method + " from a thread's default coroutine"));
+ LLTHROW(Error("Do not call " + method + " from a thread's default coroutine"));
}
}