PVStructure::getStructure() avoid creation of temporary
avoid some ref-counter activity
This commit is contained in:
+1
-1
@@ -756,7 +756,7 @@ public:
|
||||
* Get the introspection interface
|
||||
* @return The interface.
|
||||
*/
|
||||
StructureConstPtr getStructure() const;
|
||||
const StructureConstPtr &getStructure() const;
|
||||
/**
|
||||
* Get the array of pointers to the subfields in the structure.
|
||||
* @return The array.
|
||||
|
||||
Reference in New Issue
Block a user