- Mixin template `MemberAndType` should be private (not user-accessibe)

This commit is contained in:
Tristan B. Velloza Kildaire 2023-01-05 12:50:36 +02:00
parent 199b1f0120
commit 571e8dea81
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ public class PocketBase
deleteRecord(table, record.id);
}
mixin template MemberAndType(alias record, alias typeEnforce, string memberName)
private mixin template MemberAndType(alias record, alias typeEnforce, string memberName)
{
static if(__traits(hasMember, record, memberName))
{