IStringLog - remove unused method

This commit is contained in:
adelikat 2020-04-14 15:57:55 -05:00
parent c6b39492a0
commit 017573f4c6
1 changed files with 1 additions and 10 deletions

View File

@ -75,7 +75,6 @@ namespace BizHawk.Client.Common
void AddRange(IEnumerable<string> collection);
void RemoveRange(int index, int count);
IStringLog Clone();
void CopyTo(string[] array);
void CopyTo(int index, string[] array, int arrayIndex, int count);
}
@ -124,7 +123,7 @@ namespace BizHawk.Client.Common
public IStringLog Clone()
{
StreamStringLog ret = new StreamStringLog(_mDisk); // doesn't necessarily make sense to copy the mDisk value, they could be designated for different targets...
var ret = new StreamStringLog(_mDisk); // doesn't necessarily make sense to copy the mDisk value, they could be designated for different targets...
for (int i = 0; i < Count; i++)
{
ret.Add(this[i]);
@ -246,14 +245,6 @@ namespace BizHawk.Client.Common
}
}
public void CopyTo(string[] array)
{
for (int i = 0; i < Count; i++)
{
array[i] = this[i];
}
}
public void CopyTo(int index, string[] array, int arrayIndex, int count)
{
for (int i = 0; i < count; i++)