Skip to content
Snippets Groups Projects
Commit 10d9328b authored by Vadim ProductEngine's avatar Vadim ProductEngine
Browse files

STORM-786 ADDITIONAL FIX Fixed Windows build.

parent 27f3470b
No related branches found
No related tags found
No related merge requests found
......@@ -115,10 +115,15 @@ LLAgentHandler gAgentHandler;
//-- LLPanelProfile::ChildStack begins ----------------------------------------
LLPanelProfile::ChildStack::ChildStack(LLPanel* parent)
: mParent(parent)
LLPanelProfile::ChildStack::ChildStack()
: mParent(NULL)
{
}
void LLPanelProfile::ChildStack::setParent(LLPanel* parent)
{
llassert_always(parent != NULL);
mParent = parent;
}
/// Save current parent's child views and remove them from the child list.
......@@ -209,9 +214,9 @@ void LLPanelProfile::ChildStack::dump()
LLPanelProfile::LLPanelProfile()
: LLPanel()
, mTabCtrl(NULL)
, mChildStack(this)
, mAvatarId(LLUUID::null)
{
mChildStack.setParent(this);
}
BOOL LLPanelProfile::postBuild()
......
......@@ -75,7 +75,8 @@ private:
{
LOG_CLASS(LLPanelProfile::ChildStack);
public:
ChildStack(LLPanel* parent);
ChildStack();
void setParent(LLPanel* parent);
bool push();
bool pop();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment