Clean up remnant of frozen in StringStore

This commit is contained in:
Matthew Honnibal 2017-10-16 19:34:41 +02:00
parent a002264fec
commit 66e2eb8f39

View File

@ -261,10 +261,6 @@ cdef class StringStore:
cdef Utf8Str* value = <Utf8Str*>self._map.get(key)
if value is not NULL:
return value
value = <Utf8Str*>self._oov.get(key)
if value is not NULL:
return value
value = _allocate(self.mem, <unsigned char*>utf8_string, length)
self._map.set(key, value)
self.keys.push_back(key)