diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-31 05:38:54 +0100 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-12-31 05:39:37 +0100 |
commit | 3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418 (patch) | |
tree | cb12e9b8e831a8a3172101be904b778bfbae2cc1 /lib/eventitem.h | |
parent | 674e984e459375974f619d0e778d43a2cc928dc3 (diff) | |
parent | 418b85c285fa0a0c196a26eef5cc0c9c3dbe20fe (diff) | |
download | libquotient-3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418.tar.gz libquotient-3150fd8efd1d39dbcb836a9d9dbf2bd139ff1418.zip |
Merge: Cleanup across the code base
Diffstat (limited to 'lib/eventitem.h')
-rw-r--r-- | lib/eventitem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/eventitem.h b/lib/eventitem.h index 0ab1a01d..b411a90c 100644 --- a/lib/eventitem.h +++ b/lib/eventitem.h @@ -57,7 +57,7 @@ public: } /// Store arbitrary data with the event item - void setUserData(std::any userData) { data = userData; } + void setUserData(std::any userData) { data = std::move(userData); } /// Obtain custom data previously stored with the event item const std::any& userdata() const { return data; } std::any& userData() { return data; } |