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 8bb5636 commit d657bf8Copy full SHA for d657bf8
inst/include/Rcpp/proxy/NamesProxy.h
@@ -30,7 +30,7 @@ class NamesProxyPolicy{
30
31
/* lvalue uses */
32
NamesProxy& operator=(const NamesProxy& rhs) {
33
- if( *this != rhs) set( rhs.get() ) ;
+ if( this != &rhs) set( rhs.get() ) ;
34
return *this ;
35
}
36
0 commit comments