mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 04:56:58 +00:00
A seastar::value_of() lambda used in a trace point was doing the unthinkable: it called std::move() on a value captured by reference. Not only it compiled(!!!) but it also actually std::move()ed the shared_ptr before it was used in a make_result() which naturally caused a SIGSEG crash. Fixes #1491 Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com> Message-Id: <1469193763-27631-1-git-send-email-vladz@cloudius-systems.com>