Skip to content

Commit 254277b

Browse files
committed
Remove not needed method
1 parent f6e212f commit 254277b

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

inst/include/cpp11/logicals.hpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,6 @@ inline void r_vector<r_bool>::set_elt(SEXP x, R_xlen_t i,
6161
SET_LOGICAL_ELT(x, i, value);
6262
}
6363

64-
template <>
65-
inline typename r_vector<r_bool>::proxy& r_vector<r_bool>::proxy::operator=(
66-
const r_bool& rhs) {
67-
if (is_altrep_) {
68-
SET_LOGICAL_ELT(data_, index_, rhs);
69-
} else {
70-
*p_ = rhs;
71-
}
72-
return *this;
73-
}
74-
7564
inline bool operator==(const r_vector<r_bool>::proxy& lhs, r_bool rhs) {
7665
return static_cast<r_bool>(lhs).operator==(rhs);
7766
}

0 commit comments

Comments
 (0)