mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
less overhead this way. the caller of lookup() always passes a rvalue reference. and seastar::dns::get_host_by_name() actually moves away from the parameter, so let's pass by std::move() for slightly better performance, and to match the expectation of the underlying seastar API. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#16280