mirror of
https://github.com/dlang/phobos.git
synced 2025-04-27 13:40:20 +03:00
Replace body
keyword with its replacement: do
Automatic replacement with sed -i "s/^\([ ]*\)body/\1do/" -i **/*.d
This commit is contained in:
parent
5c77d8595c
commit
df6365092a
38 changed files with 183 additions and 183 deletions
|
@ -59,7 +59,7 @@ class OutBuffer
|
|||
{
|
||||
assert(offset + nbytes <= data.length);
|
||||
}
|
||||
body
|
||||
do
|
||||
{
|
||||
if (data.length < offset + nbytes)
|
||||
{
|
||||
|
@ -195,7 +195,7 @@ class OutBuffer
|
|||
{
|
||||
assert((offset & (alignsize - 1)) == 0);
|
||||
}
|
||||
body
|
||||
do
|
||||
{
|
||||
auto nbytes = offset & (alignsize - 1);
|
||||
if (nbytes)
|
||||
|
@ -360,7 +360,7 @@ class OutBuffer
|
|||
{
|
||||
assert(index <= offset);
|
||||
}
|
||||
body
|
||||
do
|
||||
{
|
||||
reserve(nbytes);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue