mirror of
https://github.com/gookit/event
synced 2025-09-26 19:11:14 +08:00
del getAnyRawValue
This commit is contained in:
@@ -27,7 +27,7 @@ type listenerCompareKey struct {
|
||||
ptrData uintptr
|
||||
}
|
||||
|
||||
func getAnyRawValue(src Listener) listenerCompareKey {
|
||||
func getListenCompareKey(src Listener) listenerCompareKey {
|
||||
ret := listenerCompareKey{
|
||||
ptrData: getReflectRawPointer(reflect.ValueOf(src)),
|
||||
}
|
||||
@@ -37,6 +37,3 @@ func getAnyRawValue(src Listener) listenerCompareKey {
|
||||
}
|
||||
return ret
|
||||
}
|
||||
func getListenCompareKey(src Listener) listenerCompareKey {
|
||||
return getAnyRawValue(src)
|
||||
}
|
||||
|
Reference in New Issue
Block a user