Kaydet (Commit) 766524b1 authored tarafından Michael Meeks's avatar Michael Meeks

vcl: further fix debug name cleanup.

Change-Id: Ia95c4893773bec77fe2ddf1a85e8687ab6776e10
üst 1abd8d9e
...@@ -67,9 +67,7 @@ struct ImplSchedulerData ...@@ -67,9 +67,7 @@ struct ImplSchedulerData
void Invoke(); void Invoke();
const char *GetDebugName() const const char *GetDebugName() const;
{ return mpScheduler && mpScheduler->GetDebugName() ?
mpScheduler->GetDebugName() : "unknown"; }
static ImplSchedulerData *GetMostImportantTask( bool bTimer ); static ImplSchedulerData *GetMostImportantTask( bool bTimer );
}; };
......
...@@ -330,4 +330,11 @@ Scheduler::~Scheduler() ...@@ -330,4 +330,11 @@ Scheduler::~Scheduler()
} }
} }
const char *ImplSchedulerData::GetDebugName() const
{
return mpScheduler && mpScheduler->GetDebugName() ?
mpScheduler->GetDebugName() : "unknown";
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment