We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 271ae62 commit fc23f86Copy full SHA for fc23f86
std/container/rbtree.d
@@ -679,15 +679,15 @@ private struct RBRange(N)
679
/**
680
* Returns the first element in the range
681
*/
682
- @property Elem front()
+ ref @property Elem front()
683
{
684
return _begin.value;
685
}
686
687
688
* Returns the last element in the range
689
690
- @property Elem back()
+ ref @property Elem back()
691
692
return _end.prev.value;
693
0 commit comments