mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +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:
parent
31174e1a58
commit
c6685c65fd
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user