diff --git a/src/sw/redis++/reply.h b/src/sw/redis++/reply.h index c5ba050..f0d5b00 100644 --- a/src/sw/redis++/reply.h +++ b/src/sw/redis++/reply.h @@ -309,7 +309,7 @@ template auto parse_variant(redisReply &reply) -> typename std::enable_if>::type { auto return_var = [](auto &&arg) { - return Variant(std::move(arg)); + return Variant(std::forward(arg)); }; try {