mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -50,7 +50,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public GridInstantMessage()
|
||||
{
|
||||
binaryBucket = new byte[0];
|
||||
binaryBucket = Array.Empty<byte>(); ;
|
||||
}
|
||||
|
||||
public GridInstantMessage(GridInstantMessage im, bool addTimestamp)
|
||||
@@ -108,7 +108,7 @@ namespace OpenSim.Framework
|
||||
string _message, bool _offline,
|
||||
Vector3 _position) : this(scene, _fromAgentID, _fromAgentName,
|
||||
_toAgentID, _dialog, false, _message,
|
||||
_fromAgentID ^ _toAgentID, _offline, _position, new byte[0], true)
|
||||
_fromAgentID ^ _toAgentID, _offline, _position, Array.Empty<byte>(), true)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user