Skip to content

Commit de2557b

Browse files
committed
Remove change to warm up code
1 parent 867b63b commit de2557b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inflection/src/inflection/tokenizer/TokenizerFactory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Tokenizer* TokenizerFactory::createTokenizerObject(const util::ULocale& locale,
146146
}
147147
auto tokenizer = new Tokenizer(TOKENIZER_CONSTRUCTORS[mid].construct(locale, systemConfig));
148148
// Initialize the data loading and caches so that it doesn't possibly fail later.
149-
::std::unique_ptr<TokenChain> unused(npc(tokenizer)->createTokenChain(u"initialization"));
149+
delete npc(tokenizer)->createTokenChain(u"initialization");
150150
return tokenizer;
151151
}
152152
}

0 commit comments

Comments
 (0)