From a3c43efb858150ce50d9cfe2c93519e86bba7bc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Fri, 24 Jan 2020 07:50:12 +0100 Subject: [PATCH] Fix KeyPathRefining for Xcode 10.0 --- GRDB/Utils/KeyPathRefining.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GRDB/Utils/KeyPathRefining.swift b/GRDB/Utils/KeyPathRefining.swift index 36639f80a..66328b6dd 100644 --- a/GRDB/Utils/KeyPathRefining.swift +++ b/GRDB/Utils/KeyPathRefining.swift @@ -20,7 +20,8 @@ extension KeyPathRefining { return result } - #if compiler(<5.1) + #if compiler(>=5.1) + #else @inlinable func with(_ keyPath: WritableKeyPath, _ value: T) -> Self { var result = self