move saving of buffers into SwgSnapshot

This commit is contained in:
DarthArgus
2016-12-15 03:02:03 +00:00
parent 897dda2600
commit 505e68cec6
7 changed files with 1321 additions and 1435 deletions
@@ -87,14 +87,6 @@ bool Snapshot::saveToDB(DB::Session *session)
return false;
}
for (BufferListType::iterator buffer=m_bufferList.begin(); buffer!=m_bufferList.end(); ++buffer)
{
if (! (*buffer)->save(session)) {
m_isBeingSaved = false;
return false;
}
}
for (step=m_customStepList.begin(); step !=m_customStepList.end(); ++step)
{
NOT_NULL(*step);