Fix missing member variable initialization.
This commit is contained in:
parent
3d8150032f
commit
116e3d6816
|
@ -87,6 +87,11 @@ private:
|
|||
class CALL_CONTEXT
|
||||
{
|
||||
public:
|
||||
CALL_CONTEXT() :
|
||||
m_mainStackContext( nullptr )
|
||||
{
|
||||
}
|
||||
|
||||
void SetMainStack( CONTEXT_T* aStack )
|
||||
{
|
||||
m_mainStackContext = aStack;
|
||||
|
@ -183,16 +188,6 @@ public:
|
|||
jumpOut();
|
||||
}
|
||||
|
||||
/**
|
||||
* Function SetEntry()
|
||||
*
|
||||
* Defines the entry point for the coroutine, if not set in the constructor.
|
||||
*/
|
||||
void SetEntry( std::function<ReturnType(ArgType)> aEntry )
|
||||
{
|
||||
m_func = std::move( aEntry );
|
||||
}
|
||||
|
||||
/**
|
||||
* Function RunMainStack()
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue