Codechange: Czech town names unconditionally removed the last codepoint in _name_czech_adj; already do this in the source table.

This commit is contained in:
frosch
2025-04-02 13:11:51 +02:00
committed by frosch
parent 86bb30acbe
commit d8333fe3d7
3 changed files with 49 additions and 62 deletions

View File

@@ -274,15 +274,6 @@ public:
::Utf8Encode(iterator, c);
}
/**
* Remove the given amount of characters from the back of the string.
* @param amount The amount of characters to remove.
*/
void RemoveElementsFromBack(size_t amount)
{
this->string->erase(this->string->size() - std::min(amount, this->string->size()));
}
/**
* Get the current index in the string.
* @return The index.