projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31174e1
)
0027426: FSD_BinaryFile: Assignment to a temporary handle variable
author
vro
<vro@opencascade.com>
Mon, 14 Dec 2020 10:18:27 +0000
(13:18 +0300)
committer
bugmaster
<bugmaster@opencascade.com>
Thu, 17 Dec 2020 18:05:02 +0000
(21:05 +0300)
A reference is added to the returning object of the method Storage_InternalData::ReadArray().
Modified files:
- Storage_InternalData.hxx
OCCT: CR27426
Products: nothing
src/Storage/Storage_InternalData.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/Storage/Storage_InternalData.hxx
b/src/Storage/Storage_InternalData.hxx
index 5b50832ac8e658895a64e0fee7f2cd011b009584..51fb2f69999a383b424ad3f815e308ed860d310d 100644
(file)
--- a/
src/Storage/Storage_InternalData.hxx
+++ b/
src/Storage/Storage_InternalData.hxx
@@
-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();