Skip to content

Commit

Permalink
fix nvcc error
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jan 9, 2018
1 parent 40e5d66 commit 85a9536
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/include/Rcpp/vector/proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ namespace internal{
return *this ;
}

operator char* (){
operator char* () const {
return get() ;
}

operator SEXP(){
operator SEXP() const {
return ::Rf_mkString(get()) ;
}

Expand All @@ -125,7 +125,7 @@ namespace internal{
parent.push_back( rhs, name );
}
}
char* get(){
char* get() const {
return parent[ parent.offset(name) ];
}

Expand Down

0 comments on commit 85a9536

Please sign in to comment.