mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 07:00:37 +03:00
add return scope to xml.toType
This commit is contained in:
parent
3dad916640
commit
f62e725c91
1 changed files with 1 additions and 1 deletions
|
@ -2959,7 +2959,7 @@ private alias Err = CheckException;
|
||||||
|
|
||||||
private
|
private
|
||||||
{
|
{
|
||||||
inout(T) toType(T)(inout Object o)
|
inout(T) toType(T)(inout return scope Object o)
|
||||||
{
|
{
|
||||||
T t = cast(T)(o);
|
T t = cast(T)(o);
|
||||||
if (t is null)
|
if (t is null)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue