mirror of
https://github.com/dlang/phobos.git
synced 2025-05-02 08:00:48 +03:00
Fix for moveFront, moveBack, and moveAt
- I assume they are not properties, then changed to normal functions. - Global .moveFront/Back uses front and back if member moveFront/back doesn't exist. Then, member aliases are just redundant.
This commit is contained in:
parent
128aa9f8fc
commit
58a8ccf42e
2 changed files with 19 additions and 11 deletions
|
@ -6479,7 +6479,6 @@ unittest
|
|||
bool empty() { return i >= data.length; }
|
||||
T front() { return data[i]; }
|
||||
T front(real e) { return data[i] = cast(T) e; }
|
||||
alias front moveFront;
|
||||
}
|
||||
void popFront() { ++i; }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue