From 79628b135168ffad262d43f39ae573e180bd7fbf Mon Sep 17 00:00:00 2001 From: volzhs Date: Mon, 22 Aug 2016 22:30:22 +0900 Subject: Fix StreamPeerBuffer::duplicate() does not return value --- core/io/stream_peer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/io/stream_peer.cpp b/core/io/stream_peer.cpp index 176d55ffdd..baaeacaf18 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; } -- cgit v1.2.3