summaryrefslogtreecommitdiff
path: root/indra/llcommon/llcoros.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/llcoros.h')
-rw-r--r--indra/llcommon/llcoros.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llcoros.h b/indra/llcommon/llcoros.h
index 7b3420cc8f..2e4cd8ccad 100644
--- a/indra/llcommon/llcoros.h
+++ b/indra/llcommon/llcoros.h
@@ -140,7 +140,7 @@ public:
* (e.g. if the coroutine was launched by hand rather than using
* LLCoros::launch()).
*/
- std::string getName() const;
+ static std::string getName();
/**
* For delayed initialization. To be clear, this will only affect
@@ -295,7 +295,7 @@ inline
std::string logname()
{
static std::string main("main");
- std::string name(LLCoros::instance().getName());
+ std::string name(LLCoros::getName());
return name.empty()? main : name;
}