From a622f66a94549319c445c0c74f652eb9016149ac Mon Sep 17 00:00:00 2001 From: mrkraimer Date: Fri, 2 Apr 2021 18:09:38 -0400 Subject: [PATCH] another attempt to fix jenkins_problem --- src/special/pvdbcrAddRecordRegister.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/special/pvdbcrAddRecordRegister.cpp b/src/special/pvdbcrAddRecordRegister.cpp index ba6077d..cb94883 100644 --- a/src/special/pvdbcrAddRecordRegister.cpp +++ b/src/special/pvdbcrAddRecordRegister.cpp @@ -112,7 +112,7 @@ void PvdbcrAddRecord::process() pvResult->put(name + " union most be a structure"); return; } - StructureConstPtr st = static_pointer_cast(pvField->getField()); + StructureConstPtr st = std::tr1::static_pointer_cast(pvField->getField()); PVStructurePtr pvStructure = pvDataCreate->createPVStructure(st); PVRecordPtr pvRec = PVRecord::create(name,pvStructure); bool result = PVDatabase::getMaster()->addRecord(pvRec);