From 54ee8bf7a0850a3716cf633a893ebc5f3c9e9232 Mon Sep 17 00:00:00 2001 From: Michael Davidsaver Date: Thu, 23 May 2013 17:50:58 -0400 Subject: [PATCH] PVStructureArray: setLength before postPut Ensure that the correct (new) length is seen. --- pvDataApp/factory/PVStructureArray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pvDataApp/factory/PVStructureArray.cpp b/pvDataApp/factory/PVStructureArray.cpp index d08b6a4..8ef5efe 100644 --- a/pvDataApp/factory/PVStructureArray.cpp +++ b/pvDataApp/factory/PVStructureArray.cpp @@ -175,8 +175,8 @@ size_t PVStructureArray::put(size_t offset,size_t len, } (*to)[i+offset] = frompv; } - postPut(); setLength(length); + postPut(); return len; }