Nitzan Mordechai [Mon, 17 Nov 2025 09:02:57 +0000 (09:02 +0000)]
test/lazy-omap-stats: overload get_output() to accept both lvalue and rvalue refs
PR #65014 added std::move() inside the while loop, which required
recreating the command string on each iteration.
Add const std::string& overload that forwards to the existing
std::string&& version, allowing the command to be declared outside
the loop for better efficiency.