From 2f1601f524184d0cd1a484a120b255d746747cd4 Mon Sep 17 00:00:00 2001 From: Matej Sekoranja Date: Tue, 24 Jul 2012 23:46:11 +0200 Subject: [PATCH] testRemoteClientImpl.cpp bug fixed --- testApp/remote/testRemoteClientImpl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testApp/remote/testRemoteClientImpl.cpp b/testApp/remote/testRemoteClientImpl.cpp index 265aefd..3f89c04 100644 --- a/testApp/remote/testRemoteClientImpl.cpp +++ b/testApp/remote/testRemoteClientImpl.cpp @@ -525,8 +525,8 @@ int main(int argc,char *argv[]) { ChannelArrayRequester::shared_pointer channelArrayRequesterImpl(new ChannelArrayRequesterImpl()); - StringArray fieldNames(1); fieldNames.push_back("field"); - FieldConstPtrArray fields(1); fields.push_back(getFieldCreate()->createScalar(pvString)); + StringArray fieldNames; fieldNames.push_back("field"); + FieldConstPtrArray fields; fields.push_back(getFieldCreate()->createScalar(pvString)); PVStructure::shared_pointer pvRequest(getPVDataCreate()->createPVStructure(getFieldCreate()->createStructure(fieldNames, fields))); ChannelArray::shared_pointer channelArray = channel->createChannelArray(channelArrayRequesterImpl, pvRequest);