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 40e5d66 commit 85a9536Copy full SHA for 85a9536
inst/include/Rcpp/vector/proxy.h
@@ -100,11 +100,11 @@ namespace internal{
100
return *this ;
101
}
102
103
- operator char* (){
+ operator char* () const {
104
return get() ;
105
106
107
- operator SEXP(){
+ operator SEXP() const {
108
return ::Rf_mkString(get()) ;
109
110
@@ -125,7 +125,7 @@ namespace internal{
125
parent.push_back( rhs, name );
126
127
128
- char* get(){
+ char* get() const {
129
return parent[ parent.offset(name) ];
130
131
0 commit comments