From fa2204f6adef493079d1ca5148b0fdc2b55816e6 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Sat, 3 Apr 2021 13:42:55 +0200 Subject: streams: Accept URef obj for VectorReader unserialize --- src/streams.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/streams.h') diff --git a/src/streams.h b/src/streams.h index e78da31cbc..31407287ae 100644 --- a/src/streams.h +++ b/src/streams.h @@ -167,7 +167,7 @@ public: } template - VectorReader& operator>>(T& obj) + VectorReader& operator>>(T&& obj) { // Unserialize from this stream ::Unserialize(*this, obj); -- cgit v1.2.3