Fix unregisterSystem function
and add function to get m_system_pointer from System
This commit is contained in:
parent
9bf6f84d45
commit
0702b007d1
3 changed files with 78 additions and 16 deletions
|
|
@ -341,7 +341,7 @@ nothrow:
|
|||
int result;
|
||||
foreach (ref Key k; this)
|
||||
{
|
||||
result = (cast(int delegate(ref Key k) nothrow)dg)(k);
|
||||
result = (cast(int delegate(ref Key k) nothrow @nogc)dg)(k);
|
||||
if (result)
|
||||
break;
|
||||
}
|
||||
|
|
@ -353,7 +353,7 @@ nothrow:
|
|||
int result;
|
||||
foreach (ref Value v; this)
|
||||
{
|
||||
result = (cast(int delegate(ref Value v) nothrow)dg)(v);
|
||||
result = (cast(int delegate(ref Value v) nothrow @nogc)dg)(v);
|
||||
if (result)
|
||||
break;
|
||||
}
|
||||
|
|
@ -365,7 +365,7 @@ nothrow:
|
|||
int result;
|
||||
foreach (ref Key k, ref Value v; this)
|
||||
{
|
||||
result = (cast(int delegate(ref Key k, ref Value v) nothrow)dg)(k, v);
|
||||
result = (cast(int delegate(ref Key k, ref Value v) nothrow @nogc)dg)(k, v);
|
||||
if (result)
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue