File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ namespace internal{
44
44
string_proxy ( VECTOR& v, R_xlen_t index_ ) : parent(&v), index(index_){}
45
45
46
46
string_proxy ( const string_proxy& other ) :
47
- parent (other.parent), index(other.index){} ;
47
+ parent (other.parent), index(other.index)
48
+ {} ;
48
49
49
50
/* *
50
51
* lhs use. Assign the value of the referred element to
@@ -53,6 +54,11 @@ namespace internal{
53
54
*
54
55
* @param rhs another proxy, possibly from another vector
55
56
*/
57
+ string_proxy& operator =( const string_proxy<RTYPE, StoragePolicy>& other) {
58
+ set ( other.get () ) ;
59
+ return *this ;
60
+ }
61
+
56
62
template <template <class > class StoragePolicy2 >
57
63
string_proxy& operator =( const string_proxy<RTYPE, StoragePolicy2>& other) {
58
64
set ( other.get () ) ;
You can’t perform that action at this time.
0 commit comments