daily update on 20240427 by nitload youmu
This commit is contained in:
@@ -23,9 +23,9 @@ namespace StgSharp.Data
|
||||
leastUnusedDisc = 0;
|
||||
}
|
||||
|
||||
private static int leastUnusedID;
|
||||
private int leastUnusedID;
|
||||
|
||||
public static int NewID()
|
||||
public int NewID()
|
||||
{
|
||||
int ret = leastUnusedID;
|
||||
if (ret == int.MaxValue)
|
||||
@@ -36,7 +36,7 @@ namespace StgSharp.Data
|
||||
return ret;
|
||||
}
|
||||
|
||||
public static void ClearIDBuffer()
|
||||
public void ClearIDBuffer()
|
||||
{
|
||||
leastUnusedID = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user