summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/slicer/slicer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/slicer/slicer/slicer.h b/slicer/slicer/slicer.h
index 196b765..f58e8e1 100644
--- a/slicer/slicer/slicer.h
+++ b/slicer/slicer/slicer.h
@@ -8,7 +8,7 @@
namespace Slicer {
template <typename Deserializer, typename Object, typename ... SerializerParams>
Object
- DeserializeAny(SerializerParams & ... sp)
+ DeserializeAny(SerializerParams && ... sp)
{
IceUtil::Handle<ModelPartForRoot<Object>> root = new ModelPartForRoot<Object>();
DeserializerPtr deserializer = new Deserializer(sp ...);
@@ -18,14 +18,14 @@ namespace Slicer {
template <typename Deserializer, typename Object, typename ... SerializerParams>
IceInternal::Handle<Object>
- Deserialize(SerializerParams & ... sp)
+ Deserialize(SerializerParams && ... sp)
{
return DeserializeAny<Deserializer, IceInternal::Handle<Object>, SerializerParams...>(sp ...);
}
template <typename Serializer, typename Object, typename ... SerializerParams>
void
- SerializeAny(Object object, SerializerParams & ... sp)
+ SerializeAny(Object object, SerializerParams && ... sp)
{
IceUtil::Handle<ModelPartForRoot<Object>> root = new ModelPartForRoot<Object>(object);
SerializerPtr serializer = new Serializer(sp ...);
@@ -34,7 +34,7 @@ namespace Slicer {
template <typename Serializer, typename Object, typename ... SerializerParams>
void
- Serialize(IceInternal::Handle<Object> object, SerializerParams & ... sp)
+ Serialize(IceInternal::Handle<Object> object, SerializerParams && ... sp)
{
SerializeAny<Serializer>(object, sp ...);
}