Skip to content

Commit d657bf8

Browse files
lifting ambiguity
1 parent 8bb5636 commit d657bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/proxy/NamesProxy.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class NamesProxyPolicy{
3030

3131
/* lvalue uses */
3232
NamesProxy& operator=(const NamesProxy& rhs) {
33-
if( *this != rhs) set( rhs.get() ) ;
33+
if( this != &rhs) set( rhs.get() ) ;
3434
return *this ;
3535
}
3636

0 commit comments

Comments
 (0)