aboutsummaryrefslogtreecommitdiff
path: root/src/streams.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-04-03 13:42:55 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-05-05 20:19:03 +0200
commitfa2204f6adef493079d1ca5148b0fdc2b55816e6 (patch)
tree52355efc18d481328f01c7877cb0d93983669882 /src/streams.h
parent128b98fce36db8d4a85e056a30e141fc117f3390 (diff)
streams: Accept URef obj for VectorReader unserialize
Diffstat (limited to 'src/streams.h')
-rw-r--r--src/streams.h2
1 files changed, 1 insertions, 1 deletions
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<typename T>
- VectorReader& operator>>(T& obj)
+ VectorReader& operator>>(T&& obj)
{
// Unserialize from this stream
::Unserialize(*this, obj);