Skip to content

Commit e3c023a

Browse files
committed
ditto
1 parent 5f3a21a commit e3c023a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/mir/series.d

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,15 @@ struct mir_series(IndexIterator_, Iterator_, size_t N_ = 1, SliceKind kind_ = Co
402402
///
403403
typeof(this) opBinary(string op : "~")(typeof(this) rhs)
404404
{
405-
return unionSeries(this.lightScope, rhs.lightScope);
405+
typeof(this.lightScope)[2] lhsAndRhs = [this.lightScope, rhs.lightScope];
406+
return unionSeriesImplPrivate!false(lhsAndRhs);
406407
}
407408

408409
/// ditto
409410
auto opBinary(string op : "~")(const typeof(this) rhs) const @trusted
410411
{
411-
return unionSeries(this.lightScope, rhs.lightScope);
412+
typeof(this.lightScope)[2] lhsAndRhs = [this.lightScope, rhs.lightScope];
413+
return unionSeriesImplPrivate!false(lhsAndRhs);
412414
}
413415

414416
static if (doUnittest)

0 commit comments

Comments
 (0)