@@ -1229,7 +1229,7 @@ struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Co
12291229 }
12301230
12311231 // /
1232- ref opAssign (typeof (this ) rvalue) return @trusted
1232+ ref opAssign (typeof (this ) rvalue) scope return @trusted
12331233 {
12341234 import mir.utility: swap;
12351235 this .data._structure = rvalue.data._structure;
@@ -1239,7 +1239,7 @@ struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Co
12391239 }
12401240
12411241 // / ditto
1242- ref opAssign (RIndexIterator, RIterator)(Series! (RIndexIterator, RIterator, N, kind) rvalue) return
1242+ ref opAssign (RIndexIterator, RIterator)(Series! (RIndexIterator, RIterator, N, kind) rvalue) scope return
12431243 if (isAssignable! (IndexIterator, RIndexIterator) && isAssignable! (Iterator, RIterator))
12441244 {
12451245 import core.lifetime : move;
@@ -1250,21 +1250,21 @@ struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Co
12501250 }
12511251
12521252 // / ditto
1253- ref opAssign (RIndexIterator, RIterator)(auto ref const Series! (RIndexIterator, RIterator, N, kind) rvalue) return
1253+ ref opAssign (RIndexIterator, RIterator)(auto ref const Series! (RIndexIterator, RIterator, N, kind) rvalue) scope return
12541254 if (isAssignable! (IndexIterator, LightConstOf! RIndexIterator) && isAssignable! (Iterator, LightConstOf! RIterator))
12551255 {
12561256 return this = rvalue.opIndex ;
12571257 }
12581258
12591259 // / ditto
1260- ref opAssign (RIndexIterator, RIterator)(auto ref immutable Series! (RIndexIterator, RIterator, N, kind) rvalue) return
1260+ ref opAssign (RIndexIterator, RIterator)(auto ref immutable Series! (RIndexIterator, RIterator, N, kind) rvalue) scope return
12611261 if (isAssignable! (IndexIterator, LightImmutableOf! RIndexIterator) && isAssignable! (Iterator, LightImmutableOf! RIterator))
12621262 {
12631263 return this = rvalue.opIndex ;
12641264 }
12651265
12661266 // / ditto
1267- ref opAssign (typeof (null )) return
1267+ ref opAssign (typeof (null )) scope return
12681268 {
12691269 return this = this .init;
12701270 }
0 commit comments