Fix clang-tidy warning
The existing code triggers the following warning: "Forwarding reference passed to std::move(), which may unexpectedly cause lvalues to be moved; use std::forward() instead."
The existing code triggers the following warning: "Forwarding reference passed to std::move(), which may unexpectedly cause lvalues to be moved; use std::forward() instead."