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

@@ -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
{