PVStructure::getStructure() avoid creation of temporary
avoid some ref-counter activity
This commit is contained in:
@@ -74,7 +74,7 @@ void PVStructure::setImmutable()
|
||||
PVField::setImmutable();
|
||||
}
|
||||
|
||||
StructureConstPtr PVStructure::getStructure() const
|
||||
const StructureConstPtr& PVStructure::getStructure() const
|
||||
{
|
||||
return structurePtr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user