diff --git a/src/factory/PVStructure.cpp b/src/factory/PVStructure.cpp index b3cdc66..aba99bd 100644 --- a/src/factory/PVStructure.cpp +++ b/src/factory/PVStructure.cpp @@ -52,7 +52,6 @@ PVStructure::PVStructure(StructureConstPtr const & structurePtr) size_t numberFields = structurePtr->getNumberFields(); FieldConstPtrArray const & fields = structurePtr->getFields(); StringArray const & fieldNames = structurePtr->getFieldNames(); -// PVFieldPtrArray * xxx = const_cast(&pvFields); pvFields.reserve(numberFields); PVDataCreatePtr pvDataCreate = getPVDataCreate(); for(size_t i=0; i(this); - size_t numberFields = nonConstThis->getNumberFields(); - size_t offset = nonConstThis->getFieldOffset(); + size_t numberFields = this->getNumberFields(); + size_t offset = this->getFieldOffset(); int32 next = pbitSet->nextSetBit(static_cast(offset)); // no more changes or no changes in this structure