Skip to content

Commit eb64c61

Browse files
committed
wrap 'other' in RObject_impl's operator=
1 parent dfa01ac commit eb64c61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/RObject.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ namespace Rcpp{
4848
*/
4949
template <typename T>
5050
RObject_Impl& operator=(const T& other) {
51-
Storage::set__(other) ;
51+
Storage::set__( wrap(other) ) ;
5252
return *this;
5353
}
5454

0 commit comments

Comments
 (0)