dbms: tiny improvement. [#METR-2807]

This commit is contained in:
Michael Kolupaev 2014-07-10 11:53:33 +04:00
parent a2a41113e0
commit f48de01d8d

View File

@ -24,7 +24,7 @@ struct NameAndTypePair
bool operator<(const NameAndTypePair & rhs) const
{
return std::make_pair(name, type->getName()) < std::make_pair(rhs.name, rhs.type->getName());
return std::tie(name, type->getName()) < std::tie(rhs.name, rhs.type->getName());
}
bool operator==(const NameAndTypePair & rhs) const