Skip to content

Commit

Permalink
Remove not needed method
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Aug 9, 2024
1 parent f6e212f commit 254277b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions inst/include/cpp11/logicals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,6 @@ inline void r_vector<r_bool>::set_elt(SEXP x, R_xlen_t i,
SET_LOGICAL_ELT(x, i, value);
}

template <>
inline typename r_vector<r_bool>::proxy& r_vector<r_bool>::proxy::operator=(
const r_bool& rhs) {
if (is_altrep_) {
SET_LOGICAL_ELT(data_, index_, rhs);
} else {
*p_ = rhs;
}
return *this;
}

inline bool operator==(const r_vector<r_bool>::proxy& lhs, r_bool rhs) {
return static_cast<r_bool>(lhs).operator==(rhs);
}
Expand Down

0 comments on commit 254277b

Please sign in to comment.