[GIS] fix s2visitor memory leak

This commit is contained in:
obdev
2023-09-09 13:57:11 +00:00
committed by ob-robot
parent 495b212480
commit 870382c15a

View File

@ -50,7 +50,7 @@ public:
{
mbr_ = S2LatLngRect::Empty();
}
~ObWkbToS2Visitor() {}
~ObWkbToS2Visitor() { reset(); }
template<typename T_IBIN>
S2Cell* MakeS2Point(T_IBIN *geo);
template<typename T_IBIN, typename T_BIN>