Bug 1715982 - Fix initial capacity of NumberPartVector; r=anba

Differential Revision: https://phabricator.services.mozilla.com/D117540
This commit is contained in:
Dan Minor 2021-06-11 21:22:15 +00:00
parent 9930a18c9b
commit eeaf61de24

View File

@ -163,7 +163,7 @@ enum class NumberPartType {
// part's end.
using NumberPart = std::pair<NumberPartType, size_t>;
using NumberPartVector = mozilla::Vector<NumberPart, 8 * sizeof(NumberPart)>;
using NumberPartVector = mozilla::Vector<NumberPart, 8>;
/**
* According to http://userguide.icu-project.org/design, as long as we constrain