Fix StreamPeerBuffer::duplicate() does not return value
This commit is contained in:
parent
2cf781d3c6
commit
79628b1351
1 changed files with 1 additions and 0 deletions
|
@ -544,6 +544,7 @@ Ref<StreamPeerBuffer> StreamPeerBuffer::duplicate() const {
|
||||||
Ref<StreamPeerBuffer> spb;
|
Ref<StreamPeerBuffer> spb;
|
||||||
spb.instance();
|
spb.instance();
|
||||||
spb->data=data;
|
spb->data=data;
|
||||||
|
return spb;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue