This commit is contained in:
Tristan B. Velloza Kildaire 2024-04-26 22:46:25 +02:00
parent e8c510eeaa
commit c5c7a02ac0
1 changed files with 6 additions and 5 deletions

View File

@ -266,11 +266,7 @@ public struct Registry
setAllowOverwrite(allowOverwritingOfEntries);
}
public ConfigEntry* opBinary(string op, string)(string name)
if(op == "in")
{
return getEntry0(name);
}
public bool hasEntry(string name)
{
@ -283,6 +279,11 @@ public struct Registry
return potEntry;
}
public ConfigEntry* opBinary(string op, string)(string name)
if(op == "in")
{
return getEntry0(name);
}
public bool getEntry_nothrow(string name, ref ConfigEntry entry)
{