From 79628b135168ffad262d43f39ae573e180bd7fbf Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 22 Aug 2016 22:30:22 +0900 Subject: [PATCH] Fix StreamPeerBuffer::duplicate() does not return value --- core/io/stream_peer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/io/stream_peer.cpp b/core/io/stream_peer.cpp index 176d55ffdda..baaeacaf182 100644 --- a/core/io/stream_peer.cpp +++ b/core/io/stream_peer.cpp @@ -544,6 +544,7 @@ Ref StreamPeerBuffer::duplicate() const { Ref spb; spb.instance(); spb->data=data; + return spb; }