Skip to content

Commit

Permalink
Fix incorrect recursion
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Feb 16, 2024
1 parent 4048410 commit c2870ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ValveKeyValue/ValveKeyValue/KVSerializer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void Serialize(Stream stream, KVObject data, KVSerializerOptions options
/// <param name="data">The data to serialize.</param>
/// <param name="options">Options to use that can influence the serialization process.</param>
public void Serialize(Stream stream, KVDocument data, KVSerializerOptions options = null) =>
Serialize(stream, data, options);
Serialize(stream, (KVObject)data, options);

/// <summary>
/// Serializes a KeyValue object into stream in plain text..
Expand Down

0 comments on commit c2870ad

Please sign in to comment.