aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialization/list.h')
-rw-r--r--src/serialization/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serialization/list.h b/src/serialization/list.h
index 139269b40..411e7800d 100644
--- a/src/serialization/list.h
+++ b/src/serialization/list.h
@@ -44,7 +44,7 @@ namespace serialization
template <typename T>
void do_add(std::list<T> &c, T &&e)
{
- c.emplace_back(std::move(e));
+ c.emplace_back(std::forward<T>(e));
}
}
}