Skip to content

Commit 280354f

Browse files
NamesProxy const ness
1 parent eca4ce1 commit 280354f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/include/Rcpp/proxy/NamesProxy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ class NamesProxyPolicy{
6464

6565
class const_NamesProxy {
6666
public:
67-
const_NamesProxy( CLASS& v) : parent(v){} ;
67+
const_NamesProxy( const CLASS& v) : parent(v){} ;
6868

6969
template <typename T> operator T() const ;
7070

7171
private:
72-
CLASS& parent;
72+
const CLASS& parent;
7373

7474
SEXP get() const {
7575
return RCPP_GET_NAMES(parent.get__()) ;

0 commit comments

Comments
 (0)