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 eca4ce1 commit 280354fCopy full SHA for 280354f
inst/include/Rcpp/proxy/NamesProxy.h
@@ -64,12 +64,12 @@ class NamesProxyPolicy{
64
65
class const_NamesProxy {
66
public:
67
- const_NamesProxy( CLASS& v) : parent(v){} ;
+ const_NamesProxy( const CLASS& v) : parent(v){} ;
68
69
template <typename T> operator T() const ;
70
71
private:
72
- CLASS& parent;
+ const CLASS& parent;
73
74
SEXP get() const {
75
return RCPP_GET_NAMES(parent.get__()) ;
0 commit comments