Merge pull request #6239 from volzhs/fix-return-spb

Fix StreamPeerBuffer::duplicate() does not return value
This commit is contained in:
George Marques 2016-08-26 22:25:24 -03:00 committed by GitHub
commit d015d93b8f

View file

@ -544,6 +544,7 @@ Ref<StreamPeerBuffer> StreamPeerBuffer::duplicate() const {
Ref<StreamPeerBuffer> spb;
spb.instance();
spb->data=data;
return spb;
}