Merge pull request #6239 from volzhs/fix-return-spb
Fix StreamPeerBuffer::duplicate() does not return value
This commit is contained in:
commit
d015d93b8f
1 changed files with 1 additions and 0 deletions
|
@ -544,6 +544,7 @@ Ref<StreamPeerBuffer> StreamPeerBuffer::duplicate() const {
|
|||
Ref<StreamPeerBuffer> spb;
|
||||
spb.instance();
|
||||
spb->data=data;
|
||||
return spb;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue