PVStructureArray: setLength before postPut

Ensure that the correct (new) length is seen.
This commit is contained in:
Michael Davidsaver
2013-05-23 17:50:58 -04:00
parent 629c8346d2
commit 54ee8bf7a0

View File

@@ -175,8 +175,8 @@ size_t PVStructureArray::put(size_t offset,size_t len,
}
(*to)[i+offset] = frompv;
}
postPut();
setLength(length);
postPut();
return len;
}