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);