From 563e2284ad4137faff5af63c02c9936f00aa7745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helge=20He=C3=9F?= Date: Sat, 28 Dec 2024 15:27:16 +0100 Subject: [PATCH] Make ActiveRecord GID inlinable ... --- Sources/ZeeQL/Access/ActiveRecordType.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/ZeeQL/Access/ActiveRecordType.swift b/Sources/ZeeQL/Access/ActiveRecordType.swift index 35cc036..d9d2a30 100644 --- a/Sources/ZeeQL/Access/ActiveRecordType.swift +++ b/Sources/ZeeQL/Access/ActiveRecordType.swift @@ -34,9 +34,9 @@ public protocol ActiveRecordType : DatabaseObject, } public extension ActiveRecordType { - var globalID: GlobalID? { - return entity.globalIDForRow(self) - } + + @inlinable + var globalID: GlobalID? { return entity.globalIDForRow(self) } } public protocol DatabaseBoundObject {