Codechange: Replace SmallPair with std::pair.
std::pair is already the smallest possible pair, and it already handles non-POD types correctly.
This commit is contained in:
@@ -196,7 +196,7 @@ struct UnmappedChoiceList : ZeroedMemoryAllocator {
|
||||
/** Clean everything up. */
|
||||
~UnmappedChoiceList()
|
||||
{
|
||||
for (SmallPair<byte, char *> p : this->strings) {
|
||||
for (std::pair<byte, char *> p : this->strings) {
|
||||
free(p.second);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user