Skip to content

Commit

Permalink
Revert changes to ScalarEqualsVisitor.Visit(left)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnricoMi committed Jan 22, 2025
1 parent cdfb6af commit 9aed89f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/arrow/compare.cc
Original file line number Diff line number Diff line change
Expand Up @@ -876,9 +876,9 @@ class ScalarEqualsVisitor {
typename std::enable_if<(is_primitive_ctype<typename T::TypeClass>::value ||
is_temporal_type<typename T::TypeClass>::value),
Status>::type
Visit(const T& left) {
Visit(const T& left_) {
const auto& right = checked_cast<const T&>(right_);
result_ = left.value == right.value;
result_ = right.value == left_.value;
return Status::OK();
}

Expand Down

0 comments on commit 9aed89f

Please sign in to comment.