Skip to content

Commit 85a9536

Browse files
committed
fix nvcc error
1 parent 40e5d66 commit 85a9536

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

inst/include/Rcpp/vector/proxy.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,11 @@ namespace internal{
100100
return *this ;
101101
}
102102

103-
operator char* (){
103+
operator char* () const {
104104
return get() ;
105105
}
106106

107-
operator SEXP(){
107+
operator SEXP() const {
108108
return ::Rf_mkString(get()) ;
109109
}
110110

@@ -125,7 +125,7 @@ namespace internal{
125125
parent.push_back( rhs, name );
126126
}
127127
}
128-
char* get(){
128+
char* get() const {
129129
return parent[ parent.offset(name) ];
130130
}
131131

0 commit comments

Comments
 (0)