We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796d8c8 commit 0dedb16Copy full SHA for 0dedb16
inst/include/Rcpp/traits/named_object.h
@@ -41,15 +41,15 @@ template <> class named_object<SEXP> {
41
public: // #nocov start
42
named_object( const std::string& name_, const SEXP& o_):
43
name(name_), object(o_), token(R_NilValue) {
44
- token = Rcpp_precious_preserve(object);
+ token = Rcpp_PreciousPreserve(object);
45
}
46
47
named_object( const named_object<SEXP>& other ) :
48
name(other.name), object(other.object), token(other.token) {
49
50
51
~named_object() {
52
- Rcpp_precious_remove(token);
+ Rcpp_PreciousRelease(token);
53
54
} // #nocov end
55
const std::string& name;
0 commit comments