Temporarily update struct => class.
- Will be reverted back as denoted by issue: https://github.com/aspnet/HttpAbstractions/issues/222
This commit is contained in:
parent
d2b303d4f0
commit
de25ccc9cd
|
|
@ -6,7 +6,7 @@ using System.Diagnostics;
|
||||||
|
|
||||||
namespace Microsoft.Framework.WebEncoders
|
namespace Microsoft.Framework.WebEncoders
|
||||||
{
|
{
|
||||||
internal struct AllowedCharsBitmap
|
internal class AllowedCharsBitmap
|
||||||
{
|
{
|
||||||
private const int ALLOWED_CHARS_BITMAP_LENGTH = 0x10000 / (8 * sizeof(uint));
|
private const int ALLOWED_CHARS_BITMAP_LENGTH = 0x10000 / (8 * sizeof(uint));
|
||||||
private uint[] _allowedCharsBitmap;
|
private uint[] _allowedCharsBitmap;
|
||||||
|
|
@ -34,7 +34,7 @@ namespace Microsoft.Framework.WebEncoders
|
||||||
// Creates a deep copy of this bitmap
|
// Creates a deep copy of this bitmap
|
||||||
public AllowedCharsBitmap Clone()
|
public AllowedCharsBitmap Clone()
|
||||||
{
|
{
|
||||||
AllowedCharsBitmap retVal;
|
var retVal = new AllowedCharsBitmap();
|
||||||
retVal._allowedCharsBitmap = (uint[])this._allowedCharsBitmap.Clone();
|
retVal._allowedCharsBitmap = (uint[])this._allowedCharsBitmap.Clone();
|
||||||
return retVal;
|
return retVal;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue