PVStructure::getStructure() avoid creation of temporary

avoid some ref-counter activity
This commit is contained in:
Michael Davidsaver committed 2017-07-07 14:39:25 +02:00
1 parent 0de3c089d2
commit 9fa5028f6c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ void PVStructure::setImmutable()
PVField::setImmutable();
}
StructureConstPtr PVStructure::getStructure() const
const StructureConstPtr& PVStructure::getStructure() const
{
return structurePtr;
}