OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a889f25
)
Equatableに準拠
author
masakih
<masakih@users.sourceforge.jp>
Fri, 20 Oct 2017 14:46:21 +0000
(23:46 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Fri, 20 Oct 2017 14:46:21 +0000
(23:46 +0900)
KCD/APIResponse.swift
patch
|
blob
|
history
diff --git
a/KCD/APIResponse.swift
b/KCD/APIResponse.swift
index
86f02d1
..
4b57c28
100644
(file)
--- a/
KCD/APIResponse.swift
+++ b/
KCD/APIResponse.swift
@@
-130,6
+130,13
@@
struct Parameter {
}
}
+extension Parameter: Equatable {
+
+ public static func == (lhs: Parameter, rhs: Parameter) -> Bool {
+ return lhs.rawValue == rhs.rawValue
+ }
+}
+
struct APIResponse {
let api: String