• R/O
  • HTTP
  • SSH
  • HTTPS

KCD: Commit

main code repository.


Commit MetaInfo

Revision7895fac18c44694f52bf0ca8df5ee9e1c778c18c (tree)
Time2018-08-13 10:29:04
Authormasakih <masakih@user...>
Commitermasakih

Log Message

Equatableを自動実装させるようにした

Change Summary

Incremental Difference

--- a/KCD/ColorSet.swift
+++ b/KCD/ColorSet.swift
@@ -55,7 +55,7 @@ extension AppearanceMode {
5555 }
5656 }
5757
58-struct ColorName {
58+struct ColorName: Equatable {
5959
6060 private let name: String
6161
@@ -65,14 +65,6 @@ struct ColorName {
6565 }
6666 }
6767
68-extension ColorName: Equatable {
69-
70- static func == (lhs: ColorName, rhs: ColorName) -> Bool {
71-
72- return lhs.name == rhs.name
73- }
74-}
75-
7668 extension ColorName {
7769
7870 // for DamageView
Show on old repository browser