Fix missing member variable initialization.

This commit is contained in:
Jeff Young 2020-01-11 20:42:37 +00:00
parent 3d8150032f
commit 116e3d6816
1 changed files with 5 additions and 10 deletions

View File

@ -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()
*