Skip to content
Snippets Groups Projects
Commit 48289ec6 authored by whh8b's avatar whh8b
Browse files

Recalculate size every time the dollop is split.

parent f9913527
No related branches found
No related tags found
No related merge requests found
......@@ -95,6 +95,9 @@ namespace Zipr_SDK {
new_dollop->push_back(to_move);
erase(moved_it);
}
new_dollop->m_size = new_dollop->CalculateWorstCaseSize();
m_size = CalculateWorstCaseSize();
/*
* 4. Return the new one
*/
......
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