We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77060f5 commit 56041baCopy full SHA for 56041ba
inst/include/cpp11/external_pointer.hpp
@@ -72,7 +72,8 @@ class external_pointer {
72
}
73
74
external_pointer& operator=(external_pointer&& rhs) noexcept {
75
- // This works even if `this == &rhs` because `data_` (a `cpp11::sexp`) handles the underlying resource.
+ // This works even if `this == &rhs` because `data_` (a `cpp11::sexp`) handles
76
+ // the underlying resource.
77
data_ = rhs.data_;
78
// Order matters: first assign, then clear the RHS.
79
rhs.data_ = R_NilValue;
0 commit comments