diff --git a/std/xml.d b/std/xml.d index 07112177bcc..37fab6db038 100644 --- a/std/xml.d +++ b/std/xml.d @@ -2959,7 +2959,7 @@ private alias Err = CheckException; private { - inout(T) toType(T)(inout Object o) + inout(T) toType(T)(inout return scope Object o) { T t = cast(T)(o); if (t is null)