Inline else expression
このコミットが含まれているのは:
1 親
c613d92413
コミット
8aa83aae91
1ファイル変更
+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/>
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする