diff options
-rw-r--r-- | core/io/stream_peer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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> StreamPeerBuffer::duplicate() const { Ref<StreamPeerBuffer> spb; spb.instance(); spb->data=data; + return spb; } |