Skip to content

Commit

Permalink
Fix small nullability warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexejhero committed Jan 7, 2025
1 parent daef5ff commit 69e8979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Unity/Assets/Messages/API/OutgoingMessageBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public abstract class OutgoingMessageBuilder
{
protected abstract string Command { get; }

protected virtual object Data => this;
protected virtual object? Data => this;

public virtual bool Merge(OutgoingMessageBuilder other) => false;

Expand Down
2 changes: 1 addition & 1 deletion Unity/Assets/Messages/Outgoing/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ namespace NeuroSdk.Messages.Outgoing
public sealed class Startup : OutgoingMessageBuilder
{
protected override string Command => "startup";
protected override object Data => null;
protected override object? Data => null;
}
}

0 comments on commit 69e8979

Please sign in to comment.