revert introduction of some in arguments

This commit is contained in:
UbitUmarov
2022-10-23 21:00:56 +01:00
parent 37844d22ea
commit f5883d8ce6
22 changed files with 125 additions and 138 deletions

View File

@@ -610,7 +610,7 @@ namespace OpenSim.Framework.Console
// Check if there is anything to send. Return true if this client has
// lines pending.
protected bool HasEvents(in UUID RequestID, in UUID sessionID)
protected bool HasEvents(UUID RequestID, UUID sessionID)
{
ConsoleConnection c = null;
@@ -627,7 +627,7 @@ namespace OpenSim.Framework.Console
}
// Send all pending output to the client.
protected Hashtable GetEvents(in UUID RequestID, in UUID sessionID)
protected Hashtable GetEvents(UUID RequestID, UUID sessionID)
{
// Find the connection that goes with this client.
ConsoleConnection c = null;
@@ -716,7 +716,7 @@ namespace OpenSim.Framework.Console
// This is really just a no-op. It generates what is sent
// to the client if the poll times out without any events.
protected Hashtable NoEvents(in UUID RequestID, in UUID id)
protected Hashtable NoEvents(UUID RequestID, UUID id)
{
Hashtable result = new Hashtable();

View File

@@ -433,7 +433,7 @@ namespace OSHttpServer.Parser
return handledBytes;
}
static int GetLineBreakSize(in byte[] buffer, int offset)
static int GetLineBreakSize(byte[] buffer, int offset)
{
byte c = buffer[offset];
if (c == '\r')

View File

@@ -31,13 +31,12 @@ using OpenMetaverse;
namespace OpenSim.Framework.Servers.HttpServer
{
public delegate OSHttpResponse RequestMethod(in UUID ID, OSHttpRequest request);
public delegate bool HasEventsMethod(in UUID requestID, in UUID pId);
public delegate OSHttpResponse RequestMethod(UUID ID, OSHttpRequest request);
public delegate bool HasEventsMethod(UUID requestID, UUID pId);
public delegate Hashtable GetEventsMethod(UUID requestID, UUID pId);
public delegate Hashtable GetEventsMethod(in UUID requestID, in UUID pId);
public delegate Hashtable NoEventsMethod(in UUID requestID, in UUID pId);
public delegate void DropMethod(in UUID requestID, in UUID pId);
public delegate Hashtable NoEventsMethod(UUID requestID, UUID pId);
public delegate void DropMethod(UUID requestID, UUID pId);
public class PollServiceEventArgs : EventArgs
{

View File

@@ -1281,14 +1281,6 @@ namespace OpenSim.Framework
*dst++ = LowNibbleToHexByteCharLowcaps(b);
}
}
/*
for (int i = 0, j = 0; i < bytes.Length; ++i)
{
byte b = bytes[i];
chars[j++] = HighNibbleToHexByteCharLowcaps(b);
chars[j++] = LowNibbleToHexByteCharLowcaps(b);
}
*/
});
}