mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 21:47:10 +00:00
std::bind() copies the bound parameters for safekeeping. Here this includes expr, which can be quite heavyweight. Use std::ref() to prevent copying. This is safe since the bound expression is executed and discarded before has_supporting_index() returns. Closes #8791