for (int32_t i = 0, length = units.length(); i < length; i++) {
// Create empty new LongNameHandler:
LongNameHandler *lnh =
- result->fLongNameHandlers.emplaceBackAndCheckErrorCode(status, nullptr, nullptr);
+ result->fLongNameHandlers.emplaceBackAndCheckErrorCode(status);
result->fMeasureUnits[i] = *units[i];
// Fill in LongNameHandler:
LongNameHandler::forMeasureUnit(loc, *units[i],
const MicroPropsGenerator *parent;
LongNameHandler(const PluralRules *rules, const MicroPropsGenerator *parent)
- : rules(rules), parent(parent) {}
+ : rules(rules), parent(parent) {
+ }
+
+ LongNameHandler() : rules(nullptr), parent(nullptr) {
+ }
friend class MemoryPool<LongNameHandler>; // To enable emplaceBack();