Index: src/libchcore/TSubTaskDelete.cpp =================================================================== diff -u -N -r213cc1a2b3530ea7cb31fd0dac258df23bcc3416 -ra3d1e4c03280ece94af75d9aef32a65266cf8050 --- src/libchcore/TSubTaskDelete.cpp (.../TSubTaskDelete.cpp) (revision 213cc1a2b3530ea7cb31fd0dac258df23bcc3416) +++ src/libchcore/TSubTaskDelete.cpp (.../TSubTaskDelete.cpp) (revision a3d1e4c03280ece94af75d9aef32a65266cf8050) @@ -77,12 +77,12 @@ return m_stCurrentIndex; } - void TDeleteProgressInfo::Store(const ISerializerRowDataPtr& spRowData) const + void TDeleteProgressInfo::Store(ISerializerRowData& rRowData) const { boost::shared_lock lock(m_lock); if(m_stCurrentIndex != m_stLastStoredIndex) { - *spRowData % TRowData(_T("current_index"), m_stCurrentIndex); + rRowData.SetValue(_T("current_index"), m_stCurrentIndex); m_stLastStoredIndex = m_stCurrentIndex; } } @@ -255,10 +255,10 @@ ISerializerContainerPtr spContainer = spSerializer->GetContainer(_T("subtask_delete")); InitColumns(spContainer); - ISerializerRowDataPtr spRow = spContainer->GetRow(0, !m_tProgressInfo.WasSerialized()); + ISerializerRowData& rRow = spContainer->GetRow(0, !m_tProgressInfo.WasSerialized()); - m_tProgressInfo.Store(spRow); - m_tSubTaskStats.Store(spRow); + m_tProgressInfo.Store(rRow); + m_tSubTaskStats.Store(rRow); } void TSubTaskDelete::Load(const ISerializerPtr& spSerializer)