d2oracle Equals
This commit is contained in:
parent
1a4001d56e
commit
f200c19e31
1 changed files with 6 additions and 0 deletions
|
|
@ -651,6 +651,12 @@ type Key struct {
|
|||
}
|
||||
|
||||
func (mk1 *Key) D2OracleEquals(mk2 *Key) bool {
|
||||
if mk1 == nil && mk2 == nil {
|
||||
return true
|
||||
}
|
||||
if (mk1 == nil) || (mk2 == nil) {
|
||||
return false
|
||||
}
|
||||
if mk1.Ampersand != mk2.Ampersand {
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue