mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 20:46:56 +00:00
Currently the code wraps simple "if" with std::invoke over a lambda. Also, the local variable that gets the result, is declared as const one, which prevents it from being std::move()-d in the very next line. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com> Closes scylladb/scylladb#19106