PVStructureArray: setLength before postPut
Ensure that the correct (new) length is seen.
This commit is contained in:
1 parent
629c8346d2
commit
54ee8bf7a0
1 file changed
+1
-1
@@ -175,8 +175,8 @@ size_t PVStructureArray::put(size_t offset,size_t len,
|
||||
}
|
||||
(*to)[i+offset] = frompv;
|
||||
}
|
||||
postPut();
|
||||
setLength(length);
|
||||
postPut();
|
||||
return len;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user