Minor code tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2021-03-05 17:40:11 +01:00
1 親 e08eb53cd5
コミット 9048571616
2ファイル変更
+2 -3

検索条件に一致するファイルはありません

+2 -2
ファイルの表示
@@ -11,8 +11,8 @@ namespace ComputeSharp.Graphics
/// </summary>
/// <typeparam name="T">Must be either <see cref="Allocator"/>, <see cref="Allocation"/>, <see cref="Pool"/> or <see cref="VirtualBlock"/>.</typeparam>
/// <remarks>
/// While this type is not marked as <see langword="ref"/> so that it can also be used in fields, make sure to
/// keep the reference counts properly tracked if you do store <see cref="ComPtr{T}"/> instances on the heap.
/// This type is not marked as <see langword="ref"/> so that it can also be used in fields, so make sure to
/// avoid copying it and disposing it multiple times, as that would lead to a access violation exceptions.
/// </remarks>
internal unsafe struct UniquePtr<T> : IDisposable
where T : unmanaged
-1
ファイルの表示
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using ComputeSharp.Core.Extensions;
using ComputeSharp.Graphics.Commands;
using ComputeSharp.Graphics.Extensions;
using ComputeSharp.Shaders.Extensions;