mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 22:21:09 +03:00
Replace object.clear to destroy
This commit is contained in:
parent
ec773717bb
commit
72a33de959
4 changed files with 12 additions and 13 deletions
|
@ -1392,7 +1392,7 @@ struct LockingTextReader
|
|||
_crt = FGETC(cast(_iobuf*) _f.p.handle);
|
||||
if (_crt == -1)
|
||||
{
|
||||
clear(_f);
|
||||
.destroy(_f);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue