aboutsummaryrefslogtreecommitdiff
path: root/src/serialization/list.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-08-27 02:54:29 -0700
committerAlexander Blair <snipa@jagtech.io>2020-08-27 02:54:30 -0700
commitbad5d8d6f05826ff1275c0ece08f3b99f6f39840 (patch)
treea9223c5c27a6e27535120e10cf49e9f5f17c2014 /src/serialization/list.h
parentMerge pull request #6660 (diff)
parentreplace most boost serialization with existing monero serialization (diff)
downloadmonero-bad5d8d6f05826ff1275c0ece08f3b99f6f39840.tar.xz
Merge pull request #6690
7175dcb10 replace most boost serialization with existing monero serialization (moneromooo-monero)
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));
}
}
}