Inline else expression

このコミットが含まれているのは:
John committed 2020-06-11 15:19:02 +01:00
1 親 c613d92413
コミット 8aa83aae91
1ファイル変更
+2 -5
+2 -5
ファイルの表示
@@ -84,11 +84,8 @@ namespace ComputeSharp
Unsafe.As<byte, T>(ref Unsafe.Add(ref untypedDest, i * GetPaddedSize())) = Unsafe.Add(ref src, i);
}
}
else
{
// Directly copy the input span if there is no padding
MemoryHelper.Copy(span, resource.Pointer, offset, count);
}
// Directly copy as there is no padding
else MemoryHelper.Copy(span, resource.Pointer, offset, count);
}
/// <inheritdoc/>