mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027426: FSD_BinaryFile: Assignment to a temporary handle variable
A reference is added to the returning object of the method Storage_InternalData::ReadArray(). Modified files: - Storage_InternalData.hxx OCCT: CR27426 Products: nothing
This commit is contained in:
@@ -37,7 +37,7 @@ class Storage_InternalData : public Standard_Transient
|
||||
|
||||
public:
|
||||
|
||||
Handle(Storage_HPArray) ReadArray() { return myReadArray; }
|
||||
Handle(Storage_HPArray)& ReadArray() { return myReadArray; }
|
||||
|
||||
Standard_EXPORT Storage_InternalData();
|
||||
|
||||
|
Reference in New Issue
Block a user