Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
It fixes #33911. ------ From #33911: > https://github.com/apache/arrow/blob/4f1d255f3dc57457e5c78d98c4b76fc523cf9961/cpp/src/arrow/result.h#L369-L375 > > The parameter `generate_alternative` is passed by univeral forwarding, but `std::forward` is missing to use it. > > This may result in incorrect overloading selection or compilation errors, such as a class type with the method `operator()() &&`. * Closes: #33911 Lead-authored-by: PragmaTwice <twice.mliu@gmail.com> Co-authored-by: Twice <twice@apache.org> Signed-off-by: Antoine Pitrou <antoine@python.org>
- Loading branch information