adjust memory layout to avoid possible nil pointer
This commit is contained in:
@@ -10,9 +10,8 @@ import (
|
||||
)
|
||||
|
||||
type NeedleMap struct {
|
||||
m needle_map.NeedleValueMap
|
||||
|
||||
baseNeedleMapper
|
||||
m needle_map.NeedleValueMap
|
||||
}
|
||||
|
||||
func NewCompactNeedleMap(file *os.File) *NeedleMap {
|
||||
|
||||
Reference in New Issue
Block a user