Skip to content
Snippets Groups Projects
Verified Commit c529a997 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Fix pointer to stack

parent 9ff8baf5
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ TrigConf::DataStructure::setData(ptree&& data)
clear();
m_initialized = true;
m_dataSPtr = std::make_shared<ptree>(move(data));
m_dataPtr = &data;
m_dataPtr = nullptr;
update();
}
......
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