another attempt to fix jenkins_problem

This commit is contained in:
mrkraimer
2021-04-02 18:09:38 -04:00
parent 81abd5f413
commit a622f66a94

View File

@ -112,7 +112,7 @@ void PvdbcrAddRecord::process()
pvResult->put(name + " union most be a structure"); pvResult->put(name + " union most be a structure");
return; return;
} }
StructureConstPtr st = static_pointer_cast<const Structure>(pvField->getField()); StructureConstPtr st = std::tr1::static_pointer_cast<const Structure>(pvField->getField());
PVStructurePtr pvStructure = pvDataCreate->createPVStructure(st); PVStructurePtr pvStructure = pvDataCreate->createPVStructure(st);
PVRecordPtr pvRec = PVRecord::create(name,pvStructure); PVRecordPtr pvRec = PVRecord::create(name,pvStructure);
bool result = PVDatabase::getMaster()->addRecord(pvRec); bool result = PVDatabase::getMaster()->addRecord(pvRec);