Skip to content

Commit

Permalink
Fixes from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaMorphic committed May 31, 2024
1 parent 1bb26df commit 54e30f5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Src/ILGPU/IR/Serialization/BinaryIRWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void Write(string tag, string value) =>
writer.Write(value);

/// <inheritdoc/>
public void Write<T>(T value)
public void Write<T>(string tag, T value)
where T : unmanaged, Enum =>
writer.Write(Convert.ToInt32(value));

Expand Down
2 changes: 1 addition & 1 deletion Src/ILGPU/IR/Serialization/IIRWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public partial interface IIRWriter : IDisposable
/// <param name="value">
/// The value to serialize.
/// </param>
void Write<T>(T value)
void Write<T>(string tag, T value)
where T : unmanaged, Enum;
}
}

0 comments on commit 54e30f5

Please sign in to comment.