logo separator

[mkgmap-dev] Commit r4366: Fix possible error message "internal error, house has wrong segment"

From svn commit svn at mkgmap.org.uk on Wed Nov 13 08:51:05 GMT 2019

Version mkgmap-r4366 was committed by gerd on Wed, 13 Nov 2019

Fix possible error message "internal error, house has wrong segment"
Problem was introduced in the NET-no-NOD branch. The method ExtNumbers.increaseNodeIndexes() is called when a number node was added. The method increases indexes in two steps. Since r4342 it was possible that a plausibility check was performed between step 1 and 2 in method ExtNumbers.hasNumbers(). The call was only done to improve performance, so I just removed it.
The produced maps are not changed.

lesson learned: Refactor ExtNumbers, this is far too complex.

http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4366


More information about the mkgmap-dev mailing list