Skip to content

Commit

Permalink
remove redundant comparison operators again
Browse files Browse the repository at this point in the history
  • Loading branch information
lnkuiper committed Sep 5, 2024
1 parent bb3accc commit 5851198
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/include/duckdb/common/stl_allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,29 +110,9 @@ bool operator==(const stl_allocator<T> &, const stl_allocator<U> &) noexcept {
return true;
}

template <class T, class U>
bool operator==(stl_allocator<T> &, const stl_allocator<U> &) noexcept {
return true;
}

template <class T, class U>
bool operator==(const stl_allocator<T> &, stl_allocator<U> &) noexcept {
return true;
}

template <class T, class U>
bool operator!=(const stl_allocator<T> &, const stl_allocator<U> &) noexcept {
return false;
}

template <class T, class U>
bool operator!=(stl_allocator<T> &, const stl_allocator<U> &) noexcept {
return false;
}

template <class T, class U>
bool operator!=(const stl_allocator<T> &, stl_allocator<U> &) noexcept {
return false;
}

} // namespace duckdb

0 comments on commit 5851198

Please sign in to comment.