You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reply.h: std::move was used where std::forward should be used
Fixessewenew#589
Also made move semantics noexcept in connection_pool
Signed-off-by: Ted Lyngmo <[email protected]>
Describe the bug
reply.h:312:36: forwarding reference passed to std::move()
To Reproduce
Make sure a non-
const
lvalue is processed. Theconstructor of the
Variant
will be used which will forward that to the constructor of the matching type.Expected behavior
Expecting non-temporaries to be copied instead of moved. That is, use
std::forward
instead ofstd::move
The text was updated successfully, but these errors were encountered: