From 7895fac18c44694f52bf0ca8df5ee9e1c778c18c Mon Sep 17 00:00:00 2001 From: masakih Date: Mon, 13 Aug 2018 10:29:04 +0900 Subject: [PATCH] =?utf8?q?Equatable=E3=82=92=E8=87=AA=E5=8B=95=E5=AE=9F?= =?utf8?q?=E8=A3=85=E3=81=95=E3=81=9B=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?utf8?q?=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- KCD/ColorSet.swift | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/KCD/ColorSet.swift b/KCD/ColorSet.swift index 09164e84..78da0179 100644 --- a/KCD/ColorSet.swift +++ b/KCD/ColorSet.swift @@ -55,7 +55,7 @@ extension AppearanceMode { } } -struct ColorName { +struct ColorName: Equatable { private let name: String @@ -65,14 +65,6 @@ struct ColorName { } } -extension ColorName: Equatable { - - static func == (lhs: ColorName, rhs: ColorName) -> Bool { - - return lhs.name == rhs.name - } -} - extension ColorName { // for DamageView -- 2.11.0